home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / libs / logwrite.1 / logwrite
Tape Archive  |  1996-05-29  |  40.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Tape Archive (archive/tar).

You can browse this item here: logwrite

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file POSIX tar archive (GNU) default
99% file POSIX tar archive (GNU), directory logwrites-1.1/, mode 40755 , uid 0 , gid 0 , size 0 , seconds 6152763234, user root, group system default
98% file data default
62% TrID TAR - Tape ARchive (GNU) default
37% TrID TAR - Tape ARchive (directory) default
100% siegfried x-fmt/265 Tape Archive Format default
100% lsar Tar default
100% gt2 TAR Archiv gefunden (Auflistung ist deaktiviert) default
100% disktype GNU tar archive default
100% detectItEasy Archive: tar default
100% binwalkID POSIX tar archive (GNU), owner user name: "s-1.1/" default
100% xdgMime application/x-tar default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 6c 6f 67 77 72 69 74 65 | 73 2d 31 2e 31 2f 00 00 |logwrite|s-1.1/..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 20 |.... 407|55 . |
|00000070| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 36 31 35 32 37 36 33 | 0 | 6152763|
|00000090| 32 33 34 20 20 31 31 37 | 32 35 00 20 35 00 00 00 |234 117|25. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 73 79 73 74 65 6d 00 |........|.system.|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 6c 6f 67 77 72 69 74 65 | 73 2d 31 2e 31 2f 4d 61 |logwrite|s-1.1/Ma|
|00000210| 6b 65 66 69 6c 65 00 00 | 00 00 00 00 00 00 00 00 |kefile..|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00000270| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000280| 20 20 20 31 34 32 33 20 | 20 36 31 35 32 37 35 37 | 1423 | 6152757|
|00000290| 36 31 36 20 20 31 33 34 | 37 31 00 20 30 00 00 00 |616 134|71. 0...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 73 79 73 74 65 6d 00 |........|.system.|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 70 72 65 66 69 78 3d 2f | 75 73 72 0a 4c 49 42 44 |prefix=/|usr.LIBD|
|00000410| 49 52 3d 24 28 70 72 65 | 66 69 78 29 2f 6c 69 62 |IR=$(pre|fix)/lib|
|00000420| 0a 4d 41 4e 44 49 52 3d | 24 28 70 72 65 66 69 78 |.MANDIR=|$(prefix|
|00000430| 29 2f 6d 61 6e 0a 0a 53 | 48 43 43 20 3d 20 24 7b |)/man..S|HCC = ${|
|00000440| 43 43 7d 20 2d 66 50 49 | 43 0a 53 48 4c 49 42 5f |CC} -fPI|C.SHLIB_|
|00000450| 4e 41 4d 45 3d 6c 6f 67 | 77 72 69 74 65 73 0a 53 |NAME=log|writes.S|
|00000460| 48 4c 49 42 5f 4d 41 4a | 4f 52 3d 31 0a 53 48 4c |HLIB_MAJ|OR=1.SHL|
|00000470| 49 42 5f 4d 49 4e 4f 52 | 3d 31 0a 23 53 48 4c 49 |IB_MINOR|=1.#SHLI|
|00000480| 42 5f 50 41 54 43 48 4c | 45 56 45 4c 3d 30 0a 0a |B_PATCHL|EVEL=0..|
|00000490| 23 53 48 4c 49 42 3d 24 | 7b 53 48 4c 49 42 5f 4e |#SHLIB=$|{SHLIB_N|
|000004a0| 41 4d 45 7d 2e 73 6f 2e | 24 7b 53 48 4c 49 42 5f |AME}.so.|${SHLIB_|
|000004b0| 4d 41 4a 4f 52 7d 2e 24 | 7b 53 48 4c 49 42 5f 4d |MAJOR}.$|{SHLIB_M|
|000004c0| 49 4e 4f 52 7d 2e 24 7b | 53 48 4c 49 42 5f 50 41 |INOR}.${|SHLIB_PA|
|000004d0| 54 43 48 4c 45 56 45 4c | 7d 0a 53 48 4c 49 42 3d |TCHLEVEL|}.SHLIB=|
|000004e0| 24 7b 53 48 4c 49 42 5f | 4e 41 4d 45 7d 2e 73 6f |${SHLIB_|NAME}.so|
|000004f0| 2e 24 7b 53 48 4c 49 42 | 5f 4d 41 4a 4f 52 7d 2e |.${SHLIB|_MAJOR}.|
|00000500| 24 7b 53 48 4c 49 42 5f | 4d 49 4e 4f 52 7d 0a 53 |${SHLIB_|MINOR}.S|
|00000510| 48 4f 42 4a 53 20 3d 20 | 24 7b 4f 42 4a 53 3a 2e |HOBJS = |${OBJS:.|
|00000520| 6f 3d 2e 73 6f 7d 0a 0a | 4f 42 4a 53 3d 20 69 6e |o=.so}..|OBJS= in|
|00000530| 74 65 72 63 65 70 74 73 | 2e 6f 0a 0a 0a 61 6c 6c |tercepts|.o...all|
|00000540| 3a 20 24 7b 53 48 4c 49 | 42 7d 0a 0a 24 7b 53 48 |: ${SHLI|B}..${SH|
|00000550| 4c 49 42 7d 3a 20 24 7b | 53 48 4f 42 4a 53 7d 0a |LIB}: ${|SHOBJS}.|
|00000560| 09 24 7b 53 48 43 43 7d | 20 2d 73 68 61 72 65 64 |.${SHCC}| -shared|
|00000570| 20 2d 6f 20 24 7b 53 48 | 4c 49 42 7d 20 2d 57 6c | -o ${SH|LIB} -Wl|
|00000580| 2c 2d 2d 73 6f 6e 61 6d | 65 20 2d 57 6c 2c 24 7b |,--sonam|e -Wl,${|
|00000590| 53 48 4c 49 42 5f 4e 41 | 4d 45 7d 2e 73 6f 2e 24 |SHLIB_NA|ME}.so.$|
|000005a0| 7b 53 48 4c 49 42 5f 4d | 41 4a 4f 52 7d 20 24 7b |{SHLIB_M|AJOR} ${|
|000005b0| 53 48 4f 42 4a 53 7d 20 | 24 7b 44 59 4e 4c 49 42 |SHOBJS} |${DYNLIB|
|000005c0| 5f 46 4c 41 47 53 7d 0a | 09 6c 6e 20 2d 73 66 20 |_FLAGS}.|.ln -sf |
|000005d0| 24 7b 53 48 4c 49 42 7d | 20 24 7b 53 48 4c 49 42 |${SHLIB}| ${SHLIB|
|000005e0| 5f 4e 41 4d 45 7d 2e 73 | 6f 0a 0a 25 2e 73 6f 3a |_NAME}.s|o..%.so:|
|000005f0| 20 25 2e 63 0a 09 24 7b | 53 48 43 43 7d 20 2d 63 | %.c..${|SHCC} -c|
|00000600| 20 24 7b 43 43 5f 53 57 | 49 54 43 48 45 53 7d 20 | ${CC_SW|ITCHES} |
|00000610| 24 3c 20 2d 6f 20 24 40 | 0a 0a 69 6e 73 74 61 6c |$< -o $@|..instal|
|00000620| 6c 3a 20 61 6c 6c 0a 09 | 69 6e 73 74 61 6c 6c 20 |l: all..|install |
|00000630| 24 7b 53 48 4c 49 42 7d | 20 24 7b 4c 49 42 44 49 |${SHLIB}| ${LIBDI|
|00000640| 52 7d 0a 09 6c 6e 20 2d | 73 66 20 24 7b 53 48 4c |R}..ln -|sf ${SHL|
|00000650| 49 42 7d 20 24 7b 4c 49 | 42 44 49 52 7d 2f 24 7b |IB} ${LI|BDIR}/${|
|00000660| 53 48 4c 49 42 5f 4e 41 | 4d 45 7d 2e 73 6f 2e 24 |SHLIB_NA|ME}.so.$|
|00000670| 7b 53 48 4c 49 42 5f 4d | 41 4a 4f 52 7d 0a 09 6c |{SHLIB_M|AJOR}..l|
|00000680| 6e 20 2d 73 66 20 24 7b | 53 48 4c 49 42 5f 4e 41 |n -sf ${|SHLIB_NA|
|00000690| 4d 45 7d 2e 73 6f 2e 24 | 7b 53 48 4c 49 42 5f 4d |ME}.so.$|{SHLIB_M|
|000006a0| 41 4a 4f 52 7d 20 24 7b | 4c 49 42 44 49 52 7d 2f |AJOR} ${|LIBDIR}/|
|000006b0| 24 7b 53 48 4c 49 42 5f | 4e 41 4d 45 7d 2e 73 6f |${SHLIB_|NAME}.so|
|000006c0| 0a 09 69 6e 73 74 61 6c | 6c 20 6c 6f 67 77 72 69 |..instal|l logwri|
|000006d0| 74 65 73 2e 33 20 24 7b | 4d 41 4e 44 49 52 7d 2f |tes.3 ${|MANDIR}/|
|000006e0| 6d 61 6e 33 2f 0a 0a 0a | 63 6c 65 61 6e 3a 0a 09 |man3/...|clean:..|
|000006f0| 2d 72 6d 20 2d 66 20 2a | 2e 73 6f 20 2a 2e 73 6f |-rm -f *|.so *.so|
|00000700| 2e 2a 20 2a 2e 6f 20 2a | 7e 20 24 7b 53 48 4c 49 |.* *.o *|~ ${SHLI|
|00000710| 42 7d 0a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |B}......|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 6c 6f 67 77 72 69 74 65 | 73 2d 31 2e 31 2f 6c 6f |logwrite|s-1.1/lo|
|00000810| 67 77 72 69 74 65 73 2e | 33 00 00 00 00 00 00 00 |gwrites.|3.......|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00000870| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000880| 20 20 20 36 33 36 32 20 | 20 36 31 35 32 37 36 32 | 6362 | 6152762|
|00000890| 37 31 32 20 20 31 34 31 | 33 34 00 20 30 00 00 00 |712 141|34. 0...|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 73 79 73 74 65 6d 00 |........|.system.|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 2e 54 48 20 4c 4f 47 57 | 52 49 54 45 53 20 33 20 |.TH LOGW|RITES 3 |
|00000a10| 22 22 20 22 59 67 67 64 | 72 61 73 69 6c 22 20 5c |"" "Yggd|rasil" \|
|00000a20| 22 20 2d 2a 2d 0a 20 5c | 22 20 6e 72 6f 66 66 20 |" -*-. \|" nroff |
|00000a30| 2d 2a 0a 0a 2e 53 48 20 | 4e 41 4d 45 0a 6c 6f 67 |-*...SH |NAME.log|
|00000a40| 77 72 69 74 65 73 20 5c | 2d 20 4c 69 62 72 61 72 |writes \|- Librar|
|00000a50| 79 20 66 6f 72 20 69 6e | 74 65 72 63 65 70 74 69 |y for in|tercepti|
|00000a60| 6e 67 20 61 6e 64 20 72 | 65 63 6f 72 64 69 6e 67 |ng and r|ecording|
|00000a70| 20 77 72 69 74 65 73 20 | 74 6f 20 66 69 6c 65 73 | writes |to files|
|00000a80| 2c 0a 09 09 61 6e 64 20 | 6f 70 74 69 6f 6e 61 6c |,...and |optional|
|00000a90| 6c 79 20 73 61 76 69 6e | 67 20 62 61 63 6b 75 70 |ly savin|g backup|
|00000aa0| 73 20 6f 66 20 66 69 6c | 65 73 20 74 68 61 74 20 |s of fil|es that |
|00000ab0| 6f 74 68 65 72 77 69 73 | 65 0a 09 09 77 6f 75 6c |otherwis|e...woul|
|00000ac0| 64 20 68 61 76 65 20 62 | 65 65 6e 20 6f 76 65 72 |d have b|een over|
|00000ad0| 77 72 69 74 74 65 6e 2e | 0a 0a 2e 53 48 20 53 59 |written.|...SH SY|
|00000ae0| 4e 4f 50 53 49 53 0a 0a | 42 61 73 68 2c 20 4b 73 |NOPSIS..|Bash, Ks|
|00000af0| 68 20 61 6e 64 20 42 6f | 75 72 6e 65 20 73 68 65 |h and Bo|urne she|
|00000b00| 6c 6c 20 73 79 6e 74 61 | 78 3a 0a 0a 49 4e 53 54 |ll synta|x:..INST|
|00000b10| 41 4c 4c 5f 4c 4f 47 3d | 6c 6f 67 5f 66 69 6c 65 |ALL_LOG=|log_file|
|00000b20| 20 4c 44 5f 50 52 45 4c | 4f 41 44 3d 2f 75 73 72 | LD_PREL|OAD=/usr|
|00000b30| 2f 6c 69 62 2f 6c 6f 67 | 77 72 69 74 65 73 2e 73 |/lib/log|writes.s|
|00000b40| 6f 20 63 6f 6d 6d 61 6e | 64 0a 53 41 56 45 5f 0a |o comman|d.SAVE_.|
|00000b50| 44 4f 5f 42 41 43 4b 55 | 50 53 3d 31 20 49 4e 53 |DO_BACKU|PS=1 INS|
|00000b60| 54 41 4c 4c 5f 4c 4f 47 | 3d 6c 6f 67 5f 66 69 6c |TALL_LOG|=log_fil|
|00000b70| 65 20 4c 44 5f 50 52 45 | 4c 4f 41 44 3d 2f 75 73 |e LD_PRE|LOAD=/us|
|00000b80| 72 2f 6c 69 62 2f 6c 6f | 67 77 72 69 74 65 73 2e |r/lib/lo|gwrites.|
|00000b90| 73 6f 20 63 6f 6d 6d 61 | 6e 64 0a 0a 43 20 53 68 |so comma|nd..C Sh|
|00000ba0| 65 6c 6c 20 73 79 6e 74 | 61 78 3a 0a 0a 65 6e 76 |ell synt|ax:..env|
|00000bb0| 20 49 4e 53 54 41 4c 4c | 5f 4c 4f 47 3d 6c 6f 67 | INSTALL|_LOG=log|
|00000bc0| 5f 66 69 6c 65 20 4c 44 | 5f 50 52 45 4c 4f 41 44 |_file LD|_PRELOAD|
|00000bd0| 3d 2f 75 73 72 2f 6c 69 | 62 2f 6c 6f 67 77 72 69 |=/usr/li|b/logwri|
|00000be0| 74 65 73 2e 73 6f 20 73 | 68 65 6c 6c 5f 63 6f 6d |tes.so s|hell_com|
|00000bf0| 6d 61 6e 64 0a 65 6e 76 | 20 44 4f 5f 42 41 43 4b |mand.env| DO_BACK|
|00000c00| 55 50 53 3d 31 20 49 4e | 53 54 41 4c 4c 5f 4c 4f |UPS=1 IN|STALL_LO|
|00000c10| 47 3d 6c 6f 67 5f 66 69 | 6c 65 20 4c 44 5f 50 52 |G=log_fi|le LD_PR|
|00000c20| 45 4c 4f 41 44 3d 2f 75 | 73 72 2f 6c 69 62 2f 6c |ELOAD=/u|sr/lib/l|
|00000c30| 6f 67 77 72 69 74 65 73 | 2e 73 6f 20 73 68 65 6c |ogwrites|.so shel|
|00000c40| 6c 5f 63 6f 6d 6d 61 6e | 64 0a 0a 0a 2e 53 48 20 |l_comman|d....SH |
|00000c50| 44 45 53 43 52 49 50 54 | 49 4f 4e 0a 0a 2e 42 52 |DESCRIPT|ION...BR|
|00000c60| 20 6c 6f 67 77 72 69 74 | 65 73 0a 69 73 20 61 20 | logwrit|es.is a |
|00000c70| 6c 69 62 72 61 72 79 20 | 74 68 61 74 20 69 6e 74 |library |that int|
|00000c80| 65 72 63 65 70 74 73 20 | 74 68 65 20 6f 70 65 6e |ercepts |the open|
|00000c90| 28 32 29 2c 20 6c 69 6e | 6b 28 32 29 2c 20 72 65 |(2), lin|k(2), re|
|00000ca0| 6e 61 6d 65 28 32 29 2c | 0a 73 79 6d 6c 69 6e 6b |name(2),|.symlink|
|00000cb0| 28 32 29 2c 20 75 6e 6c | 69 6e 6b 28 32 29 2c 20 |(2), unl|ink(2), |
|00000cc0| 6d 6b 64 69 72 28 32 29 | 2c 20 6d 6b 6e 6f 64 28 |mkdir(2)|, mknod(|
|00000cd0| 32 29 2c 20 61 6e 64 20 | 74 72 75 6e 63 61 74 65 |2), and |truncate|
|00000ce0| 28 32 29 20 73 79 73 74 | 65 6d 0a 63 61 6c 6c 73 |(2) syst|em.calls|
|00000cf0| 20 61 6e 64 20 72 65 63 | 6f 72 64 73 20 74 68 65 | and rec|ords the|
|00000d00| 73 65 20 65 76 65 6e 74 | 73 20 69 6e 20 61 20 66 |se event|s in a f|
|00000d10| 69 6c 65 20 61 66 74 65 | 72 20 73 75 63 63 65 73 |ile afte|r succes|
|00000d20| 73 66 75 6c 20 65 78 65 | 63 75 74 69 6f 6e 20 6f |sful exe|cution o|
|00000d30| 66 0a 74 68 65 20 73 79 | 73 74 65 6d 20 63 61 6c |f.the sy|stem cal|
|00000d40| 6c 2e 20 20 49 74 20 63 | 61 6e 20 61 6c 73 6f 20 |l. It c|an also |
|00000d50| 6f 70 74 69 6f 6e 61 6c | 6c 79 20 73 61 76 65 20 |optional|ly save |
|00000d60| 61 20 62 61 63 6b 75 70 | 20 63 6f 70 79 20 6f 66 |a backup| copy of|
|00000d70| 20 61 6e 79 0a 66 69 6c | 65 20 74 68 61 74 20 77 | any.fil|e that w|
|00000d80| 6f 75 6c 64 20 6f 74 68 | 65 72 77 69 73 65 20 68 |ould oth|erwise h|
|00000d90| 61 76 65 20 62 65 65 6e | 20 6f 76 65 72 77 72 69 |ave been| overwri|
|00000da0| 74 74 65 6e 20 62 79 20 | 6f 70 65 6e 28 32 29 2e |tten by |open(2).|
|00000db0| 0a 0a 2e 53 53 20 41 52 | 47 55 4d 45 4e 54 53 0a |...SS AR|GUMENTS.|
|00000dc0| 41 72 67 75 6d 65 6e 74 | 73 20 74 6f 0a 2e 42 52 |Argument|s to..BR|
|00000dd0| 20 6c 6f 67 77 72 69 74 | 65 73 0a 61 72 65 20 70 | logwrit|es.are p|
|00000de0| 61 73 73 65 64 20 74 68 | 72 6f 75 67 68 20 74 68 |assed th|rough th|
|00000df0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 65 6e 76 69 |e follow|ing envi|
|00000e00| 72 6f 6e 6d 65 6e 74 61 | 6c 20 76 61 72 69 61 62 |ronmenta|l variab|
|00000e10| 6c 65 73 2e 0a 0a 2e 54 | 50 0a 2e 49 20 4c 4f 47 |les....T|P..I LOG|
|00000e20| 5f 46 49 4c 45 0a 54 68 | 65 20 6e 61 6d 65 20 6f |_FILE.Th|e name o|
|00000e30| 66 20 74 68 65 20 66 69 | 6c 65 20 69 6e 20 77 68 |f the fi|le in wh|
|00000e40| 69 63 68 20 74 6f 20 72 | 65 63 6f 72 64 20 74 68 |ich to r|ecord th|
|00000e50| 65 20 66 69 6c 65 20 6d | 6f 64 69 66 69 63 61 74 |e file m|odificat|
|00000e60| 69 6f 6e 20 65 76 65 6e | 74 73 2e 0a 0a 2e 54 50 |ion even|ts....TP|
|00000e70| 0a 2e 49 20 44 4f 5f 42 | 41 43 4b 55 50 53 0a 49 |..I DO_B|ACKUPS.I|
|00000e80| 66 20 74 68 69 73 20 65 | 6e 76 69 72 6f 6e 6d 65 |f this e|nvironme|
|00000e90| 6e 74 61 6c 20 76 61 72 | 69 61 62 6c 65 20 69 73 |ntal var|iable is|
|00000ea0| 20 64 65 66 69 6e 65 64 | 20 28 72 65 67 61 72 64 | defined| (regard|
|00000eb0| 6c 65 73 73 20 6f 66 20 | 69 74 73 20 76 61 6c 75 |less of |its valu|
|00000ec0| 65 29 2c 0a 74 68 65 6e | 20 73 61 76 65 20 61 20 |e),.then| save a |
|00000ed0| 62 61 63 6b 75 70 20 6f | 66 20 61 6e 79 20 66 69 |backup o|f any fi|
|00000ee0| 6c 65 20 74 68 61 74 20 | 77 6f 75 6c 64 20 6f 74 |le that |would ot|
|00000ef0| 68 65 72 77 69 73 65 20 | 68 61 76 65 20 62 65 65 |herwise |have bee|
|00000f00| 6e 20 6f 76 65 72 77 72 | 69 74 74 65 6e 0a 6f 72 |n overwr|itten.or|
|00000f10| 20 64 65 6c 65 74 65 64 | 20 62 79 20 6f 70 65 6e | deleted| by open|
|00000f20| 28 32 29 2c 20 72 65 6e | 61 6d 65 28 32 29 20 6f |(2), ren|ame(2) o|
|00000f30| 72 20 75 6e 6c 69 6e 6b | 28 32 29 2e 0a 0a 2e 53 |r unlink|(2)....S|
|00000f40| 48 20 42 55 47 53 0a 0a | 4c 6f 67 77 72 69 74 65 |H BUGS..|Logwrite|
|00000f50| 73 20 64 6f 65 73 20 6e | 6f 74 20 63 75 72 72 65 |s does n|ot curre|
|00000f60| 6e 74 6c 79 20 69 6e 74 | 65 72 63 65 70 74 20 74 |ntly int|ercept t|
|00000f70| 68 65 20 73 79 73 74 65 | 6d 0a 63 61 6c 6c 73 20 |he syste|m.calls |
|00000f80| 74 68 61 74 20 6d 65 72 | 65 6c 79 20 63 68 61 6e |that mer|ely chan|
|00000f90| 67 65 20 61 20 66 69 6c | 65 27 73 20 69 6e 6f 64 |ge a fil|e's inod|
|00000fa0| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 2e 20 20 |e inform|ation. |
|00000fb0| 49 74 20 61 6c 73 6f 0a | 64 6f 65 73 20 6e 6f 74 |It also.|does not|
|00000fc0| 20 64 6f 20 6c 6f 67 2c | 20 6d 61 6b 65 20 62 61 | do log,| make ba|
|00000fd0| 63 6b 75 70 73 2c 20 6f | 72 20 64 6f 20 61 6e 79 |ckups, o|r do any|
|00000fe0| 20 6f 74 68 65 72 20 73 | 70 65 63 69 61 6c 20 70 | other s|pecial p|
|00000ff0| 72 6f 63 65 73 73 69 6e | 67 0a 66 6f 72 20 6f 70 |rocessin|g.for op|
|00001000| 65 6e 28 29 20 73 79 73 | 74 65 6d 20 63 61 6c 6c |en() sys|tem call|
|00001010| 73 20 74 68 61 74 20 64 | 6f 20 6e 6f 74 20 74 72 |s that d|o not tr|
|00001020| 75 6e 63 61 74 65 20 74 | 68 65 20 66 69 6c 65 20 |uncate t|he file |
|00001030| 6f 6e 20 6f 70 65 6e 69 | 6e 67 2c 20 6f 72 0a 66 |on openi|ng, or.f|
|00001040| 6f 72 20 74 72 75 6e 63 | 61 74 65 28 32 29 20 63 |or trunc|ate(2) c|
|00001050| 61 6c 6c 73 20 74 68 61 | 74 20 74 72 75 6e 63 61 |alls tha|t trunca|
|00001060| 74 65 20 74 68 65 20 66 | 69 6c 65 20 6c 65 6e 67 |te the f|ile leng|
|00001070| 74 68 20 74 6f 20 73 6f | 6d 65 74 68 69 6e 67 20 |th to so|mething |
|00001080| 6f 74 68 65 72 0a 74 68 | 61 6e 20 7a 65 72 6f 2e |other.th|an zero.|
|00001090| 20 20 49 74 20 69 73 20 | 75 6e 63 6c 65 61 72 20 | It is |unclear |
|000010a0| 65 78 61 63 74 6c 79 20 | 77 68 61 74 20 74 6f 20 |exactly |what to |
|000010b0| 64 6f 20 69 6e 20 74 68 | 65 73 65 20 63 61 73 65 |do in th|ese case|
|000010c0| 73 20 62 65 63 61 75 73 | 65 0a 74 68 69 73 20 6d |s becaus|e.this m|
|000010d0| 61 79 20 62 65 20 74 68 | 65 20 63 61 73 65 20 6f |ay be th|e case o|
|000010e0| 66 20 61 20 66 65 77 20 | 62 79 74 65 73 20 62 65 |f a few |bytes be|
|000010f0| 69 6e 67 20 6d 6f 64 69 | 66 69 65 64 20 69 6e 20 |ing modi|fied in |
|00001100| 61 20 6c 61 72 67 65 20 | 64 61 74 61 62 61 73 65 |a large |database|
|00001110| 2c 0a 61 6e 64 20 6d 61 | 6b 69 6e 67 20 62 61 63 |,.and ma|king bac|
|00001120| 6b 75 70 20 66 69 6c 65 | 73 20 65 76 65 72 79 20 |kup file|s every |
|00001130| 74 69 6d 65 20 74 68 69 | 73 20 68 61 70 70 65 6e |time thi|s happen|
|00001140| 73 20 6d 61 79 20 6e 6f | 74 20 62 65 20 61 20 67 |s may no|t be a g|
|00001150| 6f 6f 64 20 69 64 65 61 | 2e 0a 0a 2e 42 52 20 4c |ood idea|....BR L|
|00001160| 6f 67 77 72 69 74 65 73 | 0a 75 73 65 73 20 74 68 |ogwrites|.uses th|
|00001170| 65 20 45 4c 46 20 73 68 | 61 72 65 64 20 6c 69 62 |e ELF sh|ared lib|
|00001180| 72 61 72 79 20 6d 65 63 | 68 61 6e 69 73 6d 20 74 |rary mec|hanism t|
|00001190| 6f 20 69 6e 74 65 72 63 | 65 70 74 0a 73 79 73 74 |o interc|ept.syst|
|000011a0| 65 6d 20 63 61 6c 6c 73 | 2e 20 20 41 73 20 61 20 |em calls|. As a |
|000011b0| 72 65 73 75 6c 74 2c 20 | 69 74 20 63 61 6e 6e 6f |result, |it canno|
|000011c0| 74 20 74 72 61 63 65 20 | 74 68 65 20 61 63 74 69 |t trace |the acti|
|000011d0| 6f 6e 73 20 6f 66 20 73 | 74 61 74 69 63 61 6c 6c |ons of s|taticall|
|000011e0| 79 0a 6c 69 6e 6b 65 64 | 20 65 78 65 63 75 74 61 |y.linked| executa|
|000011f0| 62 6c 65 73 2c 20 6e 6f | 6e 2d 45 4c 46 20 65 78 |bles, no|n-ELF ex|
|00001200| 65 63 75 74 61 62 6c 65 | 73 2c 20 73 65 74 75 69 |ecutable|s, setui|
|00001210| 64 20 65 78 65 63 75 74 | 61 62 6c 65 73 2c 20 6f |d execut|ables, o|
|00001220| 72 0a 65 78 65 63 75 74 | 61 62 6c 65 73 20 74 68 |r.execut|ables th|
|00001230| 61 74 20 6d 61 6b 65 20 | 73 79 73 74 65 6d 20 63 |at make |system c|
|00001240| 61 6c 6c 73 20 64 69 72 | 65 63 74 6c 79 20 77 69 |alls dir|ectly wi|
|00001250| 74 68 20 74 68 65 20 73 | 79 73 74 65 6d 20 63 61 |th the s|ystem ca|
|00001260| 6c 6c 20 74 72 61 70 0a | 6f 72 20 74 68 72 6f 75 |ll trap.|or throu|
|00001270| 67 68 20 74 68 65 20 73 | 79 73 63 61 6c 6c 28 29 |gh the s|yscall()|
|00001280| 20 72 6f 75 74 69 6e 65 | 2e 0a 0a 54 68 65 72 65 | routine|...There|
|00001290| 20 69 73 20 68 6f 70 65 | 20 66 6f 72 20 6f 6e 65 | is hope| for one|
|000012a0| 20 6f 74 68 65 72 20 70 | 72 6f 62 6c 65 6d 2c 20 | other p|roblem, |
|000012b0| 74 68 6f 75 67 68 2e 20 | 20 54 68 65 72 65 20 69 |though. | There i|
|000012c0| 73 20 63 75 72 72 65 6e | 74 6c 79 20 6e 6f 0a 77 |s curren|tly no.w|
|000012d0| 61 79 20 6f 66 20 73 74 | 61 63 6b 69 6e 67 20 22 |ay of st|acking "|
|000012e0| 66 69 6c 74 65 72 20 6c | 69 62 72 61 72 69 65 73 |filter l|ibraries|
|000012f0| 22 20 6c 69 6b 65 20 6c | 6f 67 77 72 69 74 65 73 |" like l|ogwrites|
|00001300| 2e 20 20 59 6f 75 20 63 | 61 6e 20 6f 6e 6c 79 20 |. You c|an only |
|00001310| 68 61 76 65 0a 6f 6e 65 | 20 73 75 63 68 20 6c 69 |have.one| such li|
|00001320| 62 72 61 72 79 20 70 72 | 65 6c 6f 61 64 65 64 2e |brary pr|eloaded.|
|00001330| 20 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 79 | For ex|ample, y|
|00001340| 6f 75 20 63 61 6e 6e 6f | 74 20 75 73 65 20 6c 6f |ou canno|t use lo|
|00001350| 67 77 72 69 74 65 73 20 | 69 6e 0a 63 6f 6e 6a 75 |gwrites |in.conju|
|00001360| 6e 63 74 69 6f 6e 20 77 | 69 74 68 20 7a 6c 69 62 |nction w|ith zlib|
|00001370| 63 20 28 61 20 6c 69 62 | 72 61 72 79 20 74 68 61 |c (a lib|rary tha|
|00001380| 74 20 69 6d 70 6c 65 6d | 65 6e 74 73 20 74 72 61 |t implem|ents tra|
|00001390| 6e 73 70 61 72 65 6e 74 | 0a 64 65 63 6f 6d 70 72 |nsparent|.decompr|
|000013a0| 65 73 73 69 6f 6e 20 62 | 79 20 69 6e 74 65 72 63 |ession b|y interc|
|000013b0| 65 70 74 69 6e 67 20 74 | 68 65 20 6f 70 65 6e 28 |epting t|he open(|
|000013c0| 32 29 20 73 79 73 74 65 | 6d 20 63 61 6c 6c 29 2e |2) syste|m call).|
|000013d0| 20 20 54 68 65 20 73 6f | 6c 75 74 69 6f 6e 0a 74 | The so|lution.t|
|000013e0| 6f 20 74 68 69 73 20 70 | 72 6f 62 6c 65 6d 20 69 |o this p|roblem i|
|000013f0| 73 20 74 6f 20 61 64 64 | 20 61 20 6e 65 77 20 73 |s to add| a new s|
|00001400| 79 6d 62 6f 6c 20 74 79 | 70 65 20 74 6f 20 45 4c |ymbol ty|pe to EL|
|00001410| 46 20 74 68 61 74 20 2a | 6f 6e 6c 79 2a 20 66 6f |F that *|only* fo|
|00001420| 72 0a 65 78 74 65 72 6e | 61 6c 20 72 65 66 65 72 |r.extern|al refer|
|00001430| 65 6e 63 65 73 20 74 68 | 61 74 20 77 65 72 65 20 |ences th|at were |
|00001440| 75 6e 72 65 73 6f 6c 76 | 65 64 20 77 68 65 6e 20 |unresolv|ed when |
|00001450| 74 68 65 20 6c 69 62 72 | 61 72 79 20 77 61 73 20 |the libr|ary was |
|00001460| 6c 6f 61 64 65 64 2c 0a | 73 69 6d 69 6c 61 72 20 |loaded,.|similar |
|00001470| 74 6f 20 74 68 65 20 22 | 77 65 61 6b 22 20 61 74 |to the "|weak" at|
|00001480| 74 72 69 62 75 74 65 20 | 69 6e 20 45 4c 46 2e 20 |tribute |in ELF. |
|00001490| 20 54 68 69 73 20 77 6f | 75 6c 64 20 61 6c 6c 6f | This wo|uld allo|
|000014a0| 77 20 6c 6f 67 77 72 69 | 74 65 73 20 74 6f 0a 75 |w logwri|tes to.u|
|000014b0| 73 65 20 64 69 66 66 65 | 72 65 6e 74 20 6e 61 6d |se diffe|rent nam|
|000014c0| 65 73 20 69 6e 74 65 72 | 6e 61 6c 6c 79 20 74 6f |es inter|nally to|
|000014d0| 20 72 65 66 65 72 20 74 | 68 65 20 72 6f 75 74 69 | refer t|he routi|
|000014e0| 6e 65 73 20 74 68 61 74 | 20 69 6d 70 6c 65 6d 65 |nes that| impleme|
|000014f0| 6e 74 0a 6f 70 65 6e 28 | 32 29 2c 20 73 79 6d 6c |nt.open(|2), syml|
|00001500| 69 6e 6b 28 32 29 2c 20 | 65 74 63 2e 2c 20 61 6e |ink(2), |etc., an|
|00001510| 64 20 74 68 65 6e 20 6d | 61 6b 65 20 63 61 6c 6c |d then m|ake call|
|00001520| 73 20 72 65 66 65 72 65 | 6e 63 65 73 20 74 6f 20 |s refere|nces to |
|00001530| 72 6f 75 74 69 6e 65 73 | 0a 6e 61 6d 65 64 20 6f |routines|.named o|
|00001540| 70 65 6e 28 29 2c 20 73 | 79 6d 6c 69 6e 6b 28 29 |pen(), s|ymlink()|
|00001550| 2c 20 65 74 63 2e 2c 20 | 74 68 61 74 20 61 72 65 |, etc., |that are|
|00001560| 20 72 65 73 6f 6c 76 65 | 64 20 62 79 20 74 68 65 | resolve|d by the|
|00001570| 20 72 65 67 75 6c 61 72 | 20 43 0a 6c 69 62 72 61 | regular| C.libra|
|00001580| 72 79 20 6f 72 20 74 68 | 65 20 6e 65 78 74 20 22 |ry or th|e next "|
|00001590| 66 69 6c 74 65 72 20 6c | 69 62 72 61 72 79 2e 22 |filter l|ibrary."|
|000015a0| 0a 0a 2e 53 48 20 41 55 | 54 48 4f 52 0a 41 64 61 |...SH AU|THOR.Ada|
|000015b0| 6d 20 4a 2e 20 52 69 63 | 68 74 65 72 20 28 61 64 |m J. Ric|hter (ad|
|000015c0| 61 6d 40 79 67 67 64 72 | 61 73 69 6c 2e 63 6f 6d |am@yggdr|asil.com|
|000015d0| 29 0a 0a 2e 53 48 20 43 | 4f 50 59 52 49 47 48 54 |)...SH C|OPYRIGHT|
|000015e0| 0a 43 6f 70 79 72 69 67 | 68 74 20 31 39 39 36 20 |.Copyrig|ht 1996 |
|000015f0| 59 67 67 64 72 61 73 69 | 6c 20 43 6f 6d 70 75 74 |Yggdrasi|l Comput|
|00001600| 69 6e 67 2c 20 49 6e 63 | 2e 0a 0a 6c 6f 67 77 72 |ing, Inc|...logwr|
|00001610| 69 74 65 73 20 61 6e 64 | 20 69 74 73 20 64 6f 63 |ites and| its doc|
|00001620| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 6d 61 79 20 62 |umentati|on may b|
|00001630| 65 20 66 72 65 65 6c 79 | 20 63 6f 70 69 65 64 20 |e freely| copied |
|00001640| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms |
|00001650| 61 6e 64 0a 63 6f 6e 64 | 69 74 69 6f 6e 73 20 6f |and.cond|itions o|
|00001660| 66 20 76 65 72 73 69 6f | 6e 20 32 20 6f 66 20 74 |f versio|n 2 of t|
|00001670| 68 65 20 47 4e 55 20 47 | 65 6e 65 72 61 6c 20 50 |he GNU G|eneral P|
|00001680| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 2c 20 61 |ublic Li|cense, a|
|00001690| 73 20 70 75 62 6c 69 73 | 68 65 64 0a 62 79 20 74 |s publis|hed.by t|
|000016a0| 68 65 20 46 72 65 65 20 | 53 6f 66 74 77 61 72 65 |he Free |Software|
|000016b0| 20 46 6f 75 6e 64 61 74 | 69 6f 6e 20 28 43 61 6d | Foundat|ion (Cam|
|000016c0| 62 72 69 64 67 65 2c 20 | 4d 61 73 73 61 63 68 75 |bridge, |Massachu|
|000016d0| 73 65 74 74 73 2c 20 55 | 6e 69 74 65 64 0a 53 74 |setts, U|nited.St|
|000016e0| 61 74 65 73 20 6f 66 20 | 41 6d 65 72 69 63 61 29 |ates of |America)|
|000016f0| 2e 0a 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 6c 6f 67 77 72 69 74 65 | 73 2d 31 2e 31 2f 69 6e |logwrite|s-1.1/in|
|00001810| 74 65 72 63 65 70 74 73 | 2e 63 00 00 00 00 00 00 |tercepts|.c......|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00001870| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00001880| 20 20 31 33 33 35 32 20 | 20 36 31 35 32 37 35 37 | 13352 | 6152757|
|00001890| 33 37 36 20 20 31 34 34 | 30 34 00 20 30 00 00 00 |376 144|04. 0...|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00001910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 73 79 73 74 65 6d 00 |........|.system.|
|00001930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 2f 2a 20 69 6e 74 65 72 | 63 65 70 74 73 2e 63 3a |/* inter|cepts.c:|
|00001a10| 20 54 68 69 73 20 66 69 | 6c 65 20 69 73 20 63 75 | This fi|le is cu|
|00001a20| 72 72 65 6e 74 6c 79 20 | 74 68 65 20 6f 6e 6c 79 |rrently |the only|
|00001a30| 20 73 6f 75 72 63 65 20 | 66 69 6c 65 20 66 6f 72 | source |file for|
|00001a40| 0a 20 20 20 74 68 65 20 | 6c 6f 67 77 72 69 74 65 |. the |logwrite|
|00001a50| 73 20 66 69 6c 74 65 72 | 20 6c 69 62 72 61 72 79 |s filter| library|
|00001a60| 2e 0a 0a 20 20 20 57 72 | 69 74 74 65 6e 20 62 79 |... Wr|itten by|
|00001a70| 20 41 64 61 6d 20 4a 2e | 20 52 69 63 68 74 65 72 | Adam J.| Richter|
|00001a80| 0a 20 20 20 43 6f 70 79 | 72 69 67 68 74 20 31 39 |. Copy|right 19|
|00001a90| 39 36 20 59 67 67 64 72 | 61 73 69 6c 20 43 6f 6d |96 Yggdr|asil Com|
|00001aa0| 70 75 74 69 6e 67 2c 20 | 49 6e 63 2e 0a 0a 20 20 |puting, |Inc... |
|00001ab0| 20 4c 6f 67 77 72 69 74 | 65 73 20 61 6e 64 20 69 | Logwrit|es and i|
|00001ac0| 74 73 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |ts docum|entation|
|00001ad0| 2c 20 69 6e 63 6c 75 64 | 69 6e 67 20 74 68 69 73 |, includ|ing this|
|00001ae0| 20 66 69 6c 65 2c 20 6d | 61 79 20 62 65 20 66 72 | file, m|ay be fr|
|00001af0| 65 65 6c 79 0a 20 20 20 | 63 6f 70 69 65 64 20 75 |eely. |copied u|
|00001b00| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 61 |nder the| terms a|
|00001b10| 6e 64 20 63 6f 6e 64 69 | 74 69 6f 6e 73 20 6f 66 |nd condi|tions of|
|00001b20| 20 76 65 72 73 69 6f 6e | 20 32 20 6f 66 20 74 68 | version| 2 of th|
|00001b30| 65 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 0a 20 20 |e GNU Ge|neral. |
|00001b40| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 2c | Public |License,|
|00001b50| 20 61 73 20 70 75 62 6c | 69 73 68 65 64 20 62 79 | as publ|ished by|
|00001b60| 20 74 68 65 20 46 72 65 | 65 20 53 6f 66 74 77 61 | the Fre|e Softwa|
|00001b70| 72 65 20 46 6f 75 6e 64 | 61 74 69 6f 6e 0a 20 20 |re Found|ation. |
|00001b80| 20 28 43 61 6d 62 72 69 | 64 67 65 2c 20 4d 61 73 | (Cambri|dge, Mas|
|00001b90| 73 61 63 68 75 73 65 74 | 74 73 2c 20 55 6e 69 74 |sachuset|ts, Unit|
|00001ba0| 65 64 20 53 74 61 74 65 | 73 20 6f 66 20 41 6d 65 |ed State|s of Ame|
|00001bb0| 72 69 63 61 29 2e 0a 0a | 2a 2f 0a 0a 23 69 6e 63 |rica)...|*/..#inc|
|00001bc0| 6c 75 64 65 20 3c 73 79 | 73 2f 74 79 70 65 73 2e |lude <sy|s/types.|
|00001bd0| 68 3e 0a 23 69 6e 63 6c | 75 64 65 20 3c 73 79 73 |h>.#incl|ude <sys|
|00001be0| 2f 73 74 61 74 2e 68 3e | 0a 23 69 6e 63 6c 75 64 |/stat.h>|.#includ|
|00001bf0| 65 20 3c 73 79 73 2f 70 | 61 72 61 6d 2e 68 3e 0a |e <sys/p|aram.h>.|
|00001c00| 23 69 6e 63 6c 75 64 65 | 20 3c 66 63 6e 74 6c 2e |#include| <fcntl.|
|00001c10| 68 3e 0a 23 69 6e 63 6c | 75 64 65 20 3c 73 74 64 |h>.#incl|ude <std|
|00001c20| 61 72 67 2e 68 3e 0a 23 | 69 6e 63 6c 75 64 65 20 |arg.h>.#|include |
|00001c30| 3c 75 6e 69 73 74 64 2e | 68 3e 0a 23 69 6e 63 6c |<unistd.|h>.#incl|
|00001c40| 75 64 65 20 3c 73 74 64 | 6c 69 62 2e 68 3e 0a 23 |ude <std|lib.h>.#|
|00001c50| 69 6e 63 6c 75 64 65 20 | 3c 73 79 73 63 61 6c 6c |include |<syscall|
|00001c60| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 3c 73 74 |.h>.#inc|lude <st|
|00001c70| 64 69 6f 2e 68 3e 0a 0a | 73 74 61 74 69 63 20 69 |dio.h>..|static i|
|00001c80| 6e 74 20 69 6e 69 74 69 | 61 6c 69 7a 65 64 20 3d |nt initi|alized =|
|00001c90| 20 30 3b 0a 73 74 61 74 | 69 63 20 69 6e 74 20 72 | 0;.stat|ic int r|
|00001ca0| 65 63 75 72 73 69 76 65 | 20 3d 20 30 3b 0a 0a 23 |ecursive| = 0;..#|
|00001cb0| 64 65 66 69 6e 65 20 50 | 52 45 46 49 58 20 22 77 |define P|REFIX "w|
|00001cc0| 72 69 74 65 20 22 0a 0a | 73 74 61 74 69 63 20 63 |rite "..|static c|
|00001cd0| 68 61 72 20 63 77 64 5b | 4d 41 58 50 41 54 48 4c |har cwd[|MAXPATHL|
|00001ce0| 45 4e 20 2b 20 31 5d 20 | 3d 20 50 52 45 46 49 58 |EN + 1] |= PREFIX|
|00001cf0| 3b 0a 73 74 61 74 69 63 | 20 63 68 61 72 20 2a 69 |;.static| char *i|
|00001d00| 6e 73 74 61 6c 6c 5f 6c | 6f 67 20 3d 20 4e 55 4c |nstall_l|og = NUL|
|00001d10| 4c 3b 0a 73 74 61 74 69 | 63 20 63 68 61 72 20 2a |L;.stati|c char *|
|00001d20| 64 6f 5f 62 61 63 6b 75 | 70 73 20 3d 20 4e 55 4c |do_backu|ps = NUL|
|00001d30| 4c 3b 0a 0a 73 74 61 74 | 69 63 20 76 6f 69 64 0a |L;..stat|ic void.|
|00001d40| 69 6e 69 74 69 61 6c 69 | 7a 65 20 28 76 6f 69 64 |initiali|ze (void|
|00001d50| 29 20 7b 0a 20 20 69 6e | 74 20 6c 65 6e 3b 0a 0a |) {. in|t len;..|
|00001d60| 20 20 69 66 20 28 69 6e | 69 74 69 61 6c 69 7a 65 | if (in|itialize|
|00001d70| 64 29 20 72 65 74 75 72 | 6e 3b 0a 0a 20 20 69 66 |d) retur|n;.. if|
|00001d80| 20 28 67 65 74 63 77 64 | 28 63 77 64 2c 73 69 7a | (getcwd|(cwd,siz|
|00001d90| 65 6f 66 28 63 77 64 29 | 29 20 3d 3d 20 4e 55 4c |eof(cwd)|) == NUL|
|00001da0| 4c 29 20 7b 0a 20 20 20 | 20 73 74 72 63 70 79 20 |L) {. | strcpy |
|00001db0| 28 63 77 64 2c 20 22 3f | 22 29 3b 0a 20 20 20 20 |(cwd, "?|");. |
|00001dc0| 2f 2a 20 66 61 69 6c 20 | 73 69 6c 65 6e 74 6c 79 |/* fail |silently|
|00001dd0| 20 2a 2f 0a 20 20 7d 0a | 20 20 69 6e 73 74 61 6c | */. }.| instal|
|00001de0| 6c 5f 6c 6f 67 20 3d 20 | 67 65 74 65 6e 76 20 28 |l_log = |getenv (|
|00001df0| 22 49 4e 53 54 41 4c 4c | 5f 4c 4f 47 22 29 3b 0a |"INSTALL|_LOG");.|
|00001e00| 20 20 64 6f 5f 62 61 63 | 6b 75 70 73 20 3d 20 67 | do_bac|kups = g|
|00001e10| 65 74 65 6e 76 20 28 22 | 44 4f 5f 42 41 43 4b 55 |etenv ("|DO_BACKU|
|00001e20| 50 53 22 29 3b 0a 20 20 | 69 6e 69 74 69 61 6c 69 |PS");. |initiali|
|00001e30| 7a 65 64 20 3d 20 31 3b | 0a 7d 0a 0a 73 74 61 74 |zed = 1;|.}..stat|
|00001e40| 69 63 20 76 6f 69 64 0a | 6c 6f 67 5f 65 76 65 6e |ic void.|log_even|
|00001e50| 74 28 20 63 68 61 72 20 | 2a 66 6f 72 6d 61 74 2c |t( char |*format,|
|00001e60| 20 2e 2e 2e 20 29 20 7b | 0a 20 20 76 61 5f 6c 69 | ... ) {|. va_li|
|00001e70| 73 74 20 61 72 67 5f 70 | 74 72 3b 0a 20 20 46 49 |st arg_p|tr;. FI|
|00001e80| 4c 45 20 2a 6c 6f 67 5f | 66 69 6c 65 3b 0a 0a 20 |LE *log_|file;.. |
|00001e90| 20 69 66 20 28 21 69 6e | 69 74 69 61 6c 69 7a 65 | if (!in|itialize|
|00001ea0| 64 29 20 69 6e 69 74 69 | 61 6c 69 7a 65 28 29 3b |d) initi|alize();|
|00001eb0| 0a 20 20 69 66 20 28 72 | 65 63 75 72 73 69 76 65 |. if (r|ecursive|
|00001ec0| 20 7c 7c 20 21 69 6e 73 | 74 61 6c 6c 5f 6c 6f 67 | || !ins|tall_log|
|00001ed0| 29 20 72 65 74 75 72 6e | 3b 0a 20 20 72 65 63 75 |) return|;. recu|
|00001ee0| 72 73 69 76 65 20 3d 20 | 31 3b 0a 20 20 69 66 20 |rsive = |1;. if |
|00001ef0| 28 28 6c 6f 67 5f 66 69 | 6c 65 20 3d 20 66 6f 70 |((log_fi|le = fop|
|00001f00| 65 6e 20 28 69 6e 73 74 | 61 6c 6c 5f 6c 6f 67 2c |en (inst|all_log,|
|00001f10| 20 22 61 22 29 29 20 3d | 3d 20 4e 55 4c 4c 29 20 | "a")) =|= NULL) |
|00001f20| 7b 0a 20 20 20 20 72 65 | 63 75 72 73 69 76 65 20 |{. re|cursive |
|00001f30| 3d 20 30 3b 0a 20 20 20 | 20 72 65 74 75 72 6e 3b |= 0;. | return;|
|00001f40| 0a 20 20 7d 0a 0a 20 20 | 76 61 5f 73 74 61 72 74 |. }.. |va_start|
|00001f50| 28 61 72 67 5f 70 74 72 | 2c 66 6f 72 6d 61 74 29 |(arg_ptr|,format)|
|00001f60| 3b 0a 20 20 76 66 70 72 | 69 6e 74 66 20 28 6c 6f |;. vfpr|intf (lo|
|00001f70| 67 5f 66 69 6c 65 2c 20 | 66 6f 72 6d 61 74 2c 20 |g_file, |format, |
|00001f80| 61 72 67 5f 70 74 72 29 | 3b 0a 20 20 76 61 5f 65 |arg_ptr)|;. va_e|
|00001f90| 6e 64 28 61 72 67 5f 70 | 74 72 29 3b 0a 0a 20 20 |nd(arg_p|tr);.. |
|00001fa0| 66 63 6c 6f 73 65 28 6c | 6f 67 5f 66 69 6c 65 29 |fclose(l|og_file)|
|00001fb0| 3b 0a 20 20 72 65 63 75 | 72 73 69 76 65 20 3d 20 |;. recu|rsive = |
|00001fc0| 30 3b 0a 7d 0a 0a 73 74 | 61 74 69 63 20 69 6e 74 |0;.}..st|atic int|
|00001fd0| 0a 67 65 6e 5f 62 61 63 | 6b 75 70 5f 66 69 6c 65 |.gen_bac|kup_file|
|00001fe0| 6e 61 6d 65 20 28 63 6f | 6e 73 74 20 63 68 61 72 |name (co|nst char|
|00001ff0| 20 2a 66 69 6c 65 6e 61 | 6d 65 2c 20 63 68 61 72 | *filena|me, char|
|00002000| 20 2a 62 61 63 6b 75 70 | 5f 66 69 6c 65 6e 61 6d | *backup|_filenam|
|00002010| 65 20 2f 2a 20 4f 55 54 | 20 2a 2f 29 20 7b 0a 20 |e /* OUT| */) {. |
|00002020| 20 73 74 72 75 63 74 20 | 73 74 61 74 20 73 74 61 | struct |stat sta|
|00002030| 74 62 75 66 3b 0a 20 20 | 69 6e 74 20 69 3b 0a 20 |tbuf;. |int i;. |
|00002040| 20 63 68 61 72 20 2a 70 | 74 72 3b 0a 20 20 73 70 | char *p|tr;. sp|
|00002050| 72 69 6e 74 66 20 28 62 | 61 63 6b 75 70 5f 66 69 |rintf (b|ackup_fi|
|00002060| 6c 65 6e 61 6d 65 2c 20 | 22 25 73 2e 6f 6c 64 22 |lename, |"%s.old"|
|00002070| 2c 20 66 69 6c 65 6e 61 | 6d 65 29 3b 0a 20 20 69 |, filena|me);. i|
|00002080| 66 20 28 6c 73 74 61 74 | 20 28 62 61 63 6b 75 70 |f (lstat| (backup|
|00002090| 5f 66 69 6c 65 6e 61 6d | 65 2c 20 26 73 74 61 74 |_filenam|e, &stat|
|000020a0| 62 75 66 29 20 3c 20 30 | 29 20 72 65 74 75 72 6e |buf) < 0|) return|
|000020b0| 3b 0a 20 20 70 74 72 20 | 3d 20 62 61 63 6b 75 70 |;. ptr |= backup|
|000020c0| 5f 66 69 6c 65 6e 61 6d | 65 20 2b 20 73 74 72 6c |_filenam|e + strl|
|000020d0| 65 6e 28 62 61 63 6b 75 | 70 5f 66 69 6c 65 6e 61 |en(backu|p_filena|
|000020e0| 6d 65 29 3b 0a 20 20 2a | 28 70 74 72 2b 2b 29 20 |me);. *|(ptr++) |
|000020f0| 3d 20 27 2e 27 3b 0a 20 | 20 66 6f 72 20 28 69 20 |= '.';. | for (i |
|00002100| 3d 20 31 3b 69 20 21 3d | 20 30 3b 69 2b 2b 29 20 |= 1;i !=| 0;i++) |
|00002110| 7b 0a 20 20 20 20 73 70 | 72 69 6e 74 66 20 28 70 |{. sp|rintf (p|
|00002120| 74 72 2c 20 22 25 64 22 | 2c 20 69 29 3b 0a 20 20 |tr, "%d"|, i);. |
|00002130| 20 20 69 66 20 28 6c 73 | 74 61 74 20 28 62 61 63 | if (ls|tat (bac|
|00002140| 6b 75 70 5f 66 69 6c 65 | 6e 61 6d 65 2c 20 26 73 |kup_file|name, &s|
|00002150| 74 61 74 62 75 66 29 20 | 3c 20 30 29 20 72 65 74 |tatbuf) |< 0) ret|
|00002160| 75 72 6e 20 31 3b 0a 20 | 20 7d 0a 20 20 62 61 63 |urn 1;. | }. bac|
|00002170| 6b 75 70 5f 66 69 6c 65 | 6e 61 6d 65 5b 30 5d 20 |kup_file|name[0] |
|00002180| 3d 20 27 5c 30 27 3b 0a | 20 20 72 65 74 75 72 6e |= '\0';.| return|
|00002190| 20 30 3b 0a 7d 0a 0a 0a | 73 74 61 74 69 63 20 69 | 0;.}...|static i|
|000021a0| 6e 74 0a 62 61 63 6b 75 | 70 5f 66 69 6c 65 20 28 |nt.backu|p_file (|
|000021b0| 63 6f 6e 73 74 20 63 68 | 61 72 20 2a 66 69 6c 65 |const ch|ar *file|
|000021c0| 6e 61 6d 65 2c 20 63 68 | 61 72 20 2a 62 61 63 6b |name, ch|ar *back|
|000021d0| 75 70 5f 66 69 6c 65 6e | 61 6d 65 2c 0a 09 20 20 |up_filen|ame,.. |
|000021e0| 20 20 20 69 6e 74 20 72 | 65 67 75 6c 61 72 5f 66 | int r|egular_f|
|000021f0| 69 6c 65 5f 6f 6e 6c 79 | 29 20 7b 0a 20 20 73 74 |ile_only|) {. st|
|00002200| 72 75 63 74 20 73 74 61 | 74 20 73 74 61 74 62 75 |ruct sta|t statbu|
|00002210| 66 3b 0a 0a 20 20 69 66 | 20 28 21 69 6e 69 74 69 |f;.. if| (!initi|
|00002220| 61 6c 69 7a 65 64 29 20 | 69 6e 69 74 69 61 6c 69 |alized) |initiali|
|00002230| 7a 65 28 29 3b 0a 20 20 | 69 66 20 28 21 64 6f 5f |ze();. |if (!do_|
|00002240| 62 61 63 6b 75 70 73 29 | 20 72 65 74 75 72 6e 20 |backups)| return |
|00002250| 30 3b 0a 20 20 69 66 20 | 28 72 65 63 75 72 73 69 |0;. if |(recursi|
|00002260| 76 65 29 20 72 65 74 75 | 72 6e 20 30 3b 0a 20 20 |ve) retu|rn 0;. |
|00002270| 69 66 20 28 6c 73 74 61 | 74 20 28 66 69 6c 65 6e |if (lsta|t (filen|
|00002280| 61 6d 65 2c 20 26 73 74 | 61 74 62 75 66 29 20 3e |ame, &st|atbuf) >|
|00002290| 3d 20 30 20 26 26 0a 20 | 20 20 20 20 20 28 53 5f |= 0 &&. | (S_|
|000022a0| 49 53 52 45 47 28 73 74 | 61 74 62 75 66 2e 73 74 |ISREG(st|atbuf.st|
|000022b0| 5f 6d 6f 64 65 29 20 7c | 7c 20 21 72 65 67 75 6c |_mode) ||| !regul|
|000022c0| 61 72 5f 66 69 6c 65 5f | 6f 6e 6c 79 29 20 26 26 |ar_file_|only) &&|
|000022d0| 0a 20 20 20 20 20 20 67 | 65 6e 5f 62 61 63 6b 75 |. g|en_backu|
|000022e0| 70 5f 66 69 6c 65 6e 61 | 6d 65 28 66 69 6c 65 6e |p_filena|me(filen|
|000022f0| 61 6d 65 2c 20 62 61 63 | 6b 75 70 5f 66 69 6c 65 |ame, bac|kup_file|
|00002300| 6e 61 6d 65 29 29 20 7b | 0a 20 20 20 20 73 79 73 |name)) {|. sys|
|00002310| 63 61 6c 6c 28 53 59 53 | 5f 72 65 6e 61 6d 65 2c |call(SYS|_rename,|
|00002320| 20 66 69 6c 65 6e 61 6d | 65 2c 20 62 61 63 6b 75 | filenam|e, backu|
|00002330| 70 5f 66 69 6c 65 6e 61 | 6d 65 29 3b 0a 20 20 20 |p_filena|me);. |
|00002340| 20 72 65 74 75 72 6e 20 | 31 3b 0a 20 20 7d 0a 20 | return |1;. }. |
|00002350| 20 72 65 74 75 72 6e 20 | 30 3b 0a 7d 0a 0a 0a 69 | return |0;.}...i|
|00002360| 6e 74 0a 6c 69 6e 6b 20 | 28 63 6f 6e 73 74 20 63 |nt.link |(const c|
|00002370| 68 61 72 20 2a 6f 6c 64 | 70 61 74 68 2c 20 63 6f |har *old|path, co|
|00002380| 6e 73 74 20 63 68 61 72 | 20 2a 6e 65 77 70 61 74 |nst char| *newpat|
|00002390| 68 29 20 7b 0a 20 20 69 | 6e 74 20 72 65 73 75 6c |h) {. i|nt resul|
|000023a0| 74 3b 0a 0a 20 20 69 66 | 20 28 28 72 65 73 75 6c |t;.. if| ((resul|
|000023b0| 74 20 3d 20 73 79 73 63 | 61 6c 6c 28 53 59 53 5f |t = sysc|all(SYS_|
|000023c0| 6c 69 6e 6b 2c 20 6f 6c | 64 70 61 74 68 2c 20 6e |link, ol|dpath, n|
|000023d0| 65 77 70 61 74 68 29 29 | 20 3e 3d 20 30 29 20 7b |ewpath))| >= 0) {|
|000023e0| 0a 20 20 20 20 6c 6f 67 | 5f 65 76 65 6e 74 28 22 |. log|_event("|
|000023f0| 6c 69 6e 6b 20 25 73 20 | 25 73 20 25 73 5c 6e 22 |link %s |%s %s\n"|
|00002400| 2c 20 63 77 64 2c 20 6f | 6c 64 70 61 74 68 2c 20 |, cwd, o|ldpath, |
|00002410| 6e 65 77 70 61 74 68 29 | 3b 0a 20 20 7d 0a 20 20 |newpath)|;. }. |
|00002420| 72 65 74 75 72 6e 20 72 | 65 73 75 6c 74 3b 0a 7d |return r|esult;.}|
|00002430| 0a 0a 69 6e 74 0a 72 65 | 6e 61 6d 65 20 28 63 6f |..int.re|name (co|
|00002440| 6e 73 74 20 63 68 61 72 | 20 2a 6f 6c 64 70 61 74 |nst char| *oldpat|
|00002450| 68 2c 20 63 6f 6e 73 74 | 20 63 68 61 72 20 2a 6e |h, const| char *n|
|00002460| 65 77 70 61 74 68 29 20 | 7b 0a 20 20 69 6e 74 20 |ewpath) |{. int |
|00002470| 72 65 73 75 6c 74 3b 0a | 20 20 69 6e 74 20 62 61 |result;.| int ba|
|00002480| 63 6b 65 64 5f 75 70 3b | 0a 20 20 63 68 61 72 20 |cked_up;|. char |
|00002490| 62 61 63 6b 75 70 5f 66 | 69 6c 65 6e 61 6d 65 5b |backup_f|ilename[|
|000024a0| 4d 41 58 50 41 54 48 4c | 45 4e 2b 31 5d 3b 0a 0a |MAXPATHL|EN+1];..|
|000024b0| 20 20 62 61 63 6b 65 64 | 5f 75 70 20 3d 20 62 61 | backed|_up = ba|
|000024c0| 63 6b 75 70 5f 66 69 6c | 65 28 6e 65 77 70 61 74 |ckup_fil|e(newpat|
|000024d0| 68 2c 20 62 61 63 6b 75 | 70 5f 66 69 6c 65 6e 61 |h, backu|p_filena|
|000024e0| 6d 65 2c 20 30 29 3b 0a | 20 20 69 66 20 28 28 72 |me, 0);.| if ((r|
|000024f0| 65 73 75 6c 74 20 3d 20 | 73 79 73 63 61 6c 6c 28 |esult = |syscall(|
|00002500| 53 59 53 5f 72 65 6e 61 | 6d 65 2c 20 6f 6c 64 70 |SYS_rena|me, oldp|
|00002510| 61 74 68 2c 20 6e 65 77 | 70 61 74 68 29 29 20 3e |ath, new|path)) >|
|00002520| 3d 20 30 29 20 7b 0a 20 | 20 20 20 69 66 20 28 62 |= 0) {. | if (b|
|00002530| 61 63 6b 65 64 5f 75 70 | 29 20 7b 0a 20 20 20 20 |acked_up|) {. |
|00002540| 20 20 6c 6f 67 5f 65 76 | 65 6e 74 28 22 62 61 63 | log_ev|ent("bac|
|00002550| 6b 75 70 20 25 73 20 25 | 73 20 25 73 5c 6e 22 2c |kup %s %|s %s\n",|
|00002560| 20 63 77 64 2c 20 6e 65 | 77 70 61 74 68 2c 20 62 | cwd, ne|wpath, b|
|00002570| 61 63 6b 75 70 5f 66 69 | 6c 65 6e 61 6d 65 29 3b |ackup_fi|lename);|
|00002580| 0a 20 20 20 20 7d 0a 20 | 20 20 20 6c 6f 67 5f 65 |. }. | log_e|
|00002590| 76 65 6e 74 28 22 72 65 | 6e 61 6d 65 20 25 73 20 |vent("re|name %s |
|000025a0| 25 73 20 25 73 5c 6e 22 | 2c 20 63 77 64 2c 20 6f |%s %s\n"|, cwd, o|
|000025b0| 6c 64 70 61 74 68 2c 20 | 6e 65 77 70 61 74 68 29 |ldpath, |newpath)|
|000025c0| 3b 0a 20 20 7d 20 65 6c | 73 65 20 7b 0a 20 20 20 |;. } el|se {. |
|000025d0| 20 69 66 20 28 62 61 63 | 6b 65 64 5f 75 70 29 20 | if (bac|ked_up) |
|000025e0| 7b 0a 20 20 20 20 20 20 | 73 79 73 63 61 6c 6c 28 |{. |syscall(|
|000025f0| 53 59 53 5f 72 65 6e 61 | 6d 65 2c 20 62 61 63 6b |SYS_rena|me, back|
|00002600| 75 70 5f 66 69 6c 65 6e | 61 6d 65 2c 20 6e 65 77 |up_filen|ame, new|
|00002610| 70 61 74 68 29 3b 0a 20 | 20 20 20 7d 0a 20 20 7d |path);. | }. }|
|00002620| 0a 20 20 72 65 74 75 72 | 6e 20 72 65 73 75 6c 74 |. retur|n result|
|00002630| 3b 0a 7d 0a 0a 69 6e 74 | 0a 73 79 6d 6c 69 6e 6b |;.}..int|.symlink|
|00002640| 20 28 63 6f 6e 73 74 20 | 63 68 61 72 20 2a 6f 6c | (const |char *ol|
|00002650| 64 70 61 74 68 2c 20 63 | 6f 6e 73 74 20 63 68 61 |dpath, c|onst cha|
|00002660| 72 20 2a 6e 65 77 70 61 | 74 68 29 20 7b 0a 20 20 |r *newpa|th) {. |
|00002670| 69 6e 74 20 72 65 73 75 | 6c 74 3b 0a 0a 20 20 69 |int resu|lt;.. i|
|00002680| 66 20 28 28 72 65 73 75 | 6c 74 20 3d 20 73 79 73 |f ((resu|lt = sys|
|00002690| 63 61 6c 6c 28 53 59 53 | 5f 73 79 6d 6c 69 6e 6b |call(SYS|_symlink|
|000026a0| 2c 20 6f 6c 64 70 61 74 | 68 2c 20 6e 65 77 70 61 |, oldpat|h, newpa|
|000026b0| 74 68 29 29 20 3e 3d 20 | 30 29 20 7b 0a 20 20 20 |th)) >= |0) {. |
|000026c0| 20 6c 6f 67 5f 65 76 65 | 6e 74 28 22 73 79 6d 6c | log_eve|nt("syml|
|000026d0| 69 6e 6b 20 25 73 20 25 | 73 20 25 73 5c 6e 22 2c |ink %s %|s %s\n",|
|000026e0| 20 63 77 64 2c 20 6f 6c | 64 70 61 74 68 2c 20 6e | cwd, ol|dpath, n|
|000026f0| 65 77 70 61 74 68 29 3b | 0a 20 20 7d 0a 20 20 72 |ewpath);|. }. r|
|00002700| 65 74 75 72 6e 20 72 65 | 73 75 6c 74 3b 0a 7d 0a |eturn re|sult;.}.|
|00002710| 0a 69 6e 74 0a 75 6e 6c | 69 6e 6b 20 28 63 6f 6e |.int.unl|ink (con|
|00002720| 73 74 20 63 68 61 72 20 | 2a 66 69 6c 65 6e 61 6d |st char |*filenam|
|00002730| 65 29 20 7b 0a 20 20 69 | 6e 74 20 72 65 73 75 6c |e) {. i|nt resul|
|00002740| 74 3b 0a 20 20 63 68 61 | 72 20 62 61 63 6b 75 70 |t;. cha|r backup|
|00002750| 5f 66 69 6c 65 6e 61 6d | 65 5b 4d 41 58 50 41 54 |_filenam|e[MAXPAT|
|00002760| 48 4c 45 4e 2b 31 5d 3b | 0a 20 20 69 6e 74 20 62 |HLEN+1];|. int b|
|00002770| 61 63 6b 65 64 5f 75 70 | 3b 0a 0a 20 20 62 61 63 |acked_up|;.. bac|
|00002780| 6b 65 64 5f 75 70 20 3d | 20 62 61 63 6b 75 70 5f |ked_up =| backup_|
|00002790| 66 69 6c 65 28 66 69 6c | 65 6e 61 6d 65 2c 20 62 |file(fil|ename, b|
|000027a0| 61 63 6b 75 70 5f 66 69 | 6c 65 6e 61 6d 65 2c 20 |ackup_fi|lename, |
|000027b0| 30 29 3b 0a 20 20 69 66 | 20 28 28 72 65 73 75 6c |0);. if| ((resul|
|000027c0| 74 20 3d 20 73 79 73 63 | 61 6c 6c 28 53 59 53 5f |t = sysc|all(SYS_|
|000027d0| 75 6e 6c 69 6e 6b 2c 20 | 66 69 6c 65 6e 61 6d 65 |unlink, |filename|
|000027e0| 29 29 20 3e 3d 20 30 29 | 20 7b 0a 20 20 20 20 69 |)) >= 0)| {. i|
|000027f0| 66 20 28 62 61 63 6b 65 | 64 5f 75 70 29 20 7b 0a |f (backe|d_up) {.|
|00002800| 20 20 20 20 20 20 6c 6f | 67 5f 65 76 65 6e 74 28 | lo|g_event(|
|00002810| 22 62 61 63 6b 75 70 20 | 25 73 20 25 73 20 25 73 |"backup |%s %s %s|
|00002820| 5c 6e 22 2c 20 63 77 64 | 2c 20 66 69 6c 65 6e 61 |\n", cwd|, filena|
|00002830| 6d 65 2c 20 62 61 63 6b | 75 70 5f 66 69 6c 65 6e |me, back|up_filen|
|00002840| 61 6d 65 29 3b 0a 20 20 | 20 20 7d 0a 20 20 20 20 |ame);. | }. |
|00002850| 6c 6f 67 5f 65 76 65 6e | 74 28 22 75 6e 6c 69 6e |log_even|t("unlin|
|00002860| 6b 20 25 73 20 25 73 5c | 6e 22 2c 20 63 77 64 2c |k %s %s\|n", cwd,|
|00002870| 20 66 69 6c 65 6e 61 6d | 65 29 3b 0a 20 20 7d 20 | filenam|e);. } |
|00002880| 65 6c 73 65 20 7b 0a 20 | 20 20 20 69 66 20 28 62 |else {. | if (b|
|00002890| 61 63 6b 65 64 5f 75 70 | 29 20 7b 0a 20 20 20 20 |acked_up|) {. |
|000028a0| 20 20 73 79 73 63 61 6c | 6c 28 53 59 53 5f 72 65 | syscal|l(SYS_re|
|000028b0| 6e 61 6d 65 2c 20 62 61 | 63 6b 75 70 5f 66 69 6c |name, ba|ckup_fil|
|000028c0| 65 6e 61 6d 65 2c 20 66 | 69 6c 65 6e 61 6d 65 29 |ename, f|ilename)|
|000028d0| 3b 0a 20 20 20 20 7d 0a | 20 20 7d 0a 20 20 72 65 |;. }.| }. re|
|000028e0| 74 75 72 6e 20 72 65 73 | 75 6c 74 3b 0a 7d 0a 0a |turn res|ult;.}..|
|000028f0| 69 6e 74 0a 74 72 75 6e | 63 61 74 65 20 28 63 6f |int.trun|cate (co|
|00002900| 6e 73 74 20 63 68 61 72 | 20 2a 66 69 6c 65 6e 61 |nst char| *filena|
|00002910| 6d 65 2c 20 73 69 7a 65 | 5f 74 20 6c 65 6e 67 74 |me, size|_t lengt|
|00002920| 68 29 20 7b 0a 20 20 69 | 6e 74 20 72 65 73 75 6c |h) {. i|nt resul|
|00002930| 74 3b 0a 20 20 63 68 61 | 72 20 62 61 63 6b 75 70 |t;. cha|r backup|
|00002940| 5f 66 69 6c 65 6e 61 6d | 65 5b 4d 41 58 50 41 54 |_filenam|e[MAXPAT|
|00002950| 48 4c 45 4e 2b 31 5d 3b | 0a 20 20 69 6e 74 20 62 |HLEN+1];|. int b|
|00002960| 61 63 6b 65 64 5f 75 70 | 3b 0a 0a 20 20 69 66 20 |acked_up|;.. if |
|00002970| 28 6c 65 6e 67 74 68 20 | 3d 3d 20 30 29 20 7b 0a |(length |== 0) {.|
|00002980| 20 20 20 20 62 61 63 6b | 65 64 5f 75 70 20 3d 20 | back|ed_up = |
|00002990| 62 61 63 6b 75 70 5f 66 | 69 6c 65 28 66 69 6c 65 |backup_f|ile(file|
|000029a0| 6e 61 6d 65 2c 20 62 61 | 63 6b 75 70 5f 66 69 6c |name, ba|ckup_fil|
|000029b0| 65 6e 61 6d 65 2c 20 30 | 29 3b 0a 20 20 7d 20 65 |ename, 0|);. } e|
|000029c0| 6c 73 65 20 7b 0a 20 20 | 20 20 62 61 63 6b 65 64 |lse {. | backed|
|000029d0| 5f 75 70 20 3d 20 30 3b | 0a 20 20 7d 0a 20 20 69 |_up = 0;|. }. i|
|000029e0| 66 20 28 28 72 65 73 75 | 6c 74 20 3d 20 73 79 73 |f ((resu|lt = sys|
|000029f0| 63 61 6c 6c 28 53 59 53 | 5f 75 6e 6c 69 6e 6b 2c |call(SYS|_unlink,|
|00002a00| 20 66 69 6c 65 6e 61 6d | 65 29 29 20 3e 3d 20 30 | filenam|e)) >= 0|
|00002a10| 29 20 7b 0a 20 20 20 20 | 69 66 20 28 62 61 63 6b |) {. |if (back|
|00002a20| 65 64 5f 75 70 29 20 7b | 0a 20 20 20 20 20 20 6c |ed_up) {|. l|
|00002a30| 6f 67 5f 65 76 65 6e 74 | 28 22 62 61 63 6b 75 70 |og_event|("backup|
|00002a40| 20 25 73 20 25 73 20 25 | 73 5c 6e 22 2c 20 63 77 | %s %s %|s\n", cw|
|00002a50| 64 2c 20 66 69 6c 65 6e | 61 6d 65 2c 20 62 61 63 |d, filen|ame, bac|
|00002a60| 6b 75 70 5f 66 69 6c 65 | 6e 61 6d 65 29 3b 0a 20 |kup_file|name);. |
|00002a70| 20 20 20 7d 0a 20 20 20 | 20 69 66 20 28 6c 65 6e | }. | if (len|
|00002a80| 67 74 68 20 3d 3d 20 30 | 29 20 7b 0a 20 20 20 20 |gth == 0|) {. |
|00002a90| 20 20 6c 6f 67 5f 65 76 | 65 6e 74 28 22 74 72 75 | log_ev|ent("tru|
|00002aa0| 6e 63 61 74 65 20 25 73 | 20 25 73 20 25 64 5c 6e |ncate %s| %s %d\n|
|00002ab0| 22 2c 20 63 77 64 2c 20 | 66 69 6c 65 6e 61 6d 65 |", cwd, |filename|
|00002ac0| 2c 20 6c 65 6e 67 74 68 | 29 3b 0a 20 20 20 20 7d |, length|);. }|
|00002ad0| 0a 20 20 7d 20 65 6c 73 | 65 20 7b 0a 20 20 20 20 |. } els|e {. |
|00002ae0| 69 66 20 28 62 61 63 6b | 65 64 5f 75 70 29 20 7b |if (back|ed_up) {|
|00002af0| 0a 20 20 20 20 20 20 73 | 79 73 63 61 6c 6c 28 53 |. s|yscall(S|
|00002b00| 59 53 5f 72 65 6e 61 6d | 65 2c 20 62 61 63 6b 75 |YS_renam|e, backu|
|00002b10| 70 5f 66 69 6c 65 6e 61 | 6d 65 2c 20 66 69 6c 65 |p_filena|me, file|
|00002b20| 6e 61 6d 65 29 3b 0a 20 | 20 20 20 7d 0a 20 20 7d |name);. | }. }|
|00002b30| 0a 20 20 72 65 74 75 72 | 6e 20 72 65 73 75 6c 74 |. retur|n result|
|00002b40| 3b 0a 7d 0a 0a 69 6e 74 | 0a 70 72 65 76 5f 6d 6b |;.}..int|.prev_mk|
|00002b50| 6e 6f 64 20 28 63 6f 6e | 73 74 20 63 68 61 72 20 |nod (con|st char |
|00002b60| 2a 66 69 6c 65 6e 61 6d | 65 2c 20 6d 6f 64 65 5f |*filenam|e, mode_|
|00002b70| 74 20 6d 6f 64 65 2c 20 | 64 65 76 5f 74 20 64 65 |t mode, |dev_t de|
|00002b80| 76 29 20 7b 0a 20 20 69 | 6e 74 20 72 65 73 75 6c |v) {. i|nt resul|
|00002b90| 74 3b 0a 0a 20 20 69 66 | 20 28 28 72 65 73 75 6c |t;.. if| ((resul|
|00002ba0| 74 20 3d 20 73 79 73 63 | 61 6c 6c 28 53 59 53 5f |t = sysc|all(SYS_|
|00002bb0| 70 72 65 76 5f 6d 6b 6e | 6f 64 2c 20 6d 6f 64 65 |prev_mkn|od, mode|
|00002bc0| 2c 20 64 65 76 29 29 20 | 3e 3d 20 30 29 20 7b 0a |, dev)) |>= 0) {.|
|00002bd0| 20 20 20 20 6c 6f 67 5f | 65 76 65 6e 74 28 22 6d | log_|event("m|
|00002be0| 6b 6e 6f 64 20 25 73 20 | 25 73 20 30 25 6f 20 30 |knod %s |%s 0%o 0|
|00002bf0| 78 25 78 5c 6e 22 2c 20 | 63 77 64 2c 20 66 69 6c |x%x\n", |cwd, fil|
|00002c00| 65 6e 61 6d 65 2c 20 6d | 6f 64 65 2c 20 64 65 76 |ename, m|ode, dev|
|00002c10| 29 3b 0a 20 20 7d 0a 20 | 20 72 65 74 75 72 6e 20 |);. }. | return |
|00002c20| 72 65 73 75 6c 74 3b 0a | 7d 0a 0a 69 6e 74 0a 6d |result;.|}..int.m|
|00002c30| 6b 64 69 72 20 28 63 6f | 6e 73 74 20 63 68 61 72 |kdir (co|nst char|
|00002c40| 20 2a 70 61 74 68 6e 61 | 6d 65 2c 20 6d 6f 64 65 | *pathna|me, mode|
|00002c50| 5f 74 20 6d 6f 64 65 29 | 20 7b 0a 20 20 69 6e 74 |_t mode)| {. int|
|00002c60| 20 72 65 73 75 6c 74 3b | 0a 0a 20 20 69 66 20 28 | result;|.. if (|
|00002c70| 28 72 65 73 75 6c 74 20 | 3d 20 73 79 73 63 61 6c |(result |= syscal|
|00002c80| 6c 28 53 59 53 5f 6d 6b | 64 69 72 2c 20 70 61 74 |l(SYS_mk|dir, pat|
|00002c90| 68 6e 61 6d 65 2c 20 6d | 6f 64 65 29 29 20 3e 3d |hname, m|ode)) >=|
|00002ca0| 20 30 29 20 7b 0a 20 20 | 20 20 6c 6f 67 5f 65 76 | 0) {. | log_ev|
|00002cb0| 65 6e 74 28 22 6d 6b 64 | 69 72 20 25 73 20 25 73 |ent("mkd|ir %s %s|
|00002cc0| 20 30 25 6f 5c 6e 22 2c | 20 63 77 64 2c 20 70 61 | 0%o\n",| cwd, pa|
|00002cd0| 74 68 6e 61 6d 65 2c 20 | 6d 6f 64 65 29 3b 0a 20 |thname, |mode);. |
|00002ce0| 20 7d 0a 20 20 72 65 74 | 75 72 6e 20 72 65 73 75 | }. ret|urn resu|
|00002cf0| 6c 74 3b 0a 7d 0a 0a 2f | 2a 20 58 58 58 3a 20 41 |lt;.}../|* XXX: A|
|00002d00| 6c 73 6f 20 69 6e 74 65 | 72 63 65 70 74 20 72 6d |lso inte|rcept rm|
|00002d10| 64 69 72 3f 20 2a 2f 0a | 0a 69 6e 74 0a 6f 70 65 |dir? */.|.int.ope|
|00002d20| 6e 28 20 63 6f 6e 73 74 | 20 63 68 61 72 20 2a 66 |n( const| char *f|
|00002d30| 69 6c 65 6e 61 6d 65 2c | 20 69 6e 74 20 66 6c 61 |ilename,| int fla|
|00002d40| 67 73 2c 20 2e 2e 2e 20 | 29 20 7b 0a 20 20 69 6e |gs, ... |) {. in|
|00002d50| 74 20 72 65 73 75 6c 74 | 3b 0a 20 20 6d 6f 64 65 |t result|;. mode|
|00002d60| 5f 74 20 6d 6f 64 65 3b | 0a 20 20 76 61 5f 6c 69 |_t mode;|. va_li|
|00002d70| 73 74 20 61 72 67 5f 70 | 74 72 3b 0a 20 20 63 68 |st arg_p|tr;. ch|
|00002d80| 61 72 20 62 61 63 6b 75 | 70 5f 66 69 6c 65 6e 61 |ar backu|p_filena|
|00002d90| 6d 65 5b 4d 41 58 50 41 | 54 48 4c 45 4e 2b 31 5d |me[MAXPA|THLEN+1]|
|00002da0| 3b 0a 20 20 69 6e 74 20 | 62 61 63 6b 65 64 5f 75 |;. int |backed_u|
|00002db0| 70 3b 0a 20 20 69 6e 74 | 20 72 65 63 6f 72 64 5f |p;. int| record_|
|00002dc0| 65 76 65 6e 74 3b 0a 0a | 20 20 76 61 5f 73 74 61 |event;..| va_sta|
|00002dd0| 72 74 28 61 72 67 5f 70 | 74 72 2c 66 6c 61 67 73 |rt(arg_p|tr,flags|
|00002de0| 29 3b 0a 20 20 6d 6f 64 | 65 20 3d 20 76 61 5f 61 |);. mod|e = va_a|
|00002df0| 72 67 28 61 72 67 5f 70 | 74 72 2c 20 6d 6f 64 65 |rg(arg_p|tr, mode|
|00002e00| 5f 74 29 3b 0a 20 20 76 | 61 5f 65 6e 64 28 61 72 |_t);. v|a_end(ar|
|00002e10| 67 5f 70 74 72 29 3b 0a | 20 20 0a 20 20 2f 2a 20 |g_ptr);.| . /* |
|00002e20| 4f 6e 6c 79 20 6c 6f 67 | 20 77 72 69 74 65 2d 6f |Only log| write-o|
|00002e30| 6e 6c 79 20 6f 70 65 6e | 73 20 74 68 61 74 20 77 |nly open|s that w|
|00002e40| 69 6c 6c 20 63 72 65 61 | 74 65 20 74 68 65 20 66 |ill crea|te the f|
|00002e50| 69 6c 65 20 69 66 20 69 | 74 20 64 6f 65 73 6e 27 |ile if i|t doesn'|
|00002e60| 74 0a 20 20 20 20 20 65 | 78 69 73 74 2e 20 20 4f |t. e|xist. O|
|00002e70| 74 68 65 72 77 69 73 65 | 2c 20 69 74 20 69 73 20 |therwise|, it is |
|00002e80| 70 72 6f 62 61 62 6c 79 | 20 6e 6f 74 20 61 6e 20 |probably| not an |
|00002e90| 69 6e 73 74 61 6c 6c 61 | 74 69 6f 6e 2e 20 20 2a |installa|tion. *|
|00002ea0| 2f 0a 20 20 69 66 20 28 | 28 66 6c 61 67 73 20 26 |/. if (|(flags &|
|00002eb0| 20 4f 5f 41 43 43 4d 4f | 44 45 29 20 3d 3d 20 4f | O_ACCMO|DE) == O|
|00002ec0| 5f 57 52 4f 4e 4c 59 20 | 26 26 20 28 66 6c 61 67 |_WRONLY |&& (flag|
|00002ed0| 73 20 26 20 4f 5f 43 52 | 45 41 54 29 20 26 26 0a |s & O_CR|EAT) &&.|
|00002ee0| 20 20 20 20 20 20 28 66 | 6c 61 67 73 20 26 20 4f | (f|lags & O|
|00002ef0| 5f 54 52 55 4e 43 29 29 | 20 7b 0a 0a 20 20 20 20 |_TRUNC))| {.. |
|00002f00| 62 61 63 6b 65 64 5f 75 | 70 20 3d 20 62 61 63 6b |backed_u|p = back|
|00002f10| 75 70 5f 66 69 6c 65 28 | 66 69 6c 65 6e 61 6d 65 |up_file(|filename|
|00002f20| 2c 20 62 61 63 6b 75 70 | 5f 66 69 6c 65 6e 61 6d |, backup|_filenam|
|00002f30| 65 2c 20 31 29 3b 0a 20 | 20 20 20 72 65 63 6f 72 |e, 1);. | recor|
|00002f40| 64 5f 65 76 65 6e 74 20 | 3d 20 31 3b 0a 20 20 7d |d_event |= 1;. }|
|00002f50| 20 65 6c 73 65 20 7b 0a | 20 20 20 20 62 61 63 6b | else {.| back|
|00002f60| 65 64 5f 75 70 20 3d 20 | 30 3b 0a 20 20 20 20 72 |ed_up = |0;. r|
|00002f70| 65 63 6f 72 64 5f 65 76 | 65 6e 74 20 3d 20 30 3b |ecord_ev|ent = 0;|
|00002f80| 0a 20 20 7d 0a 0a 20 20 | 72 65 73 75 6c 74 20 3d |. }.. |result =|
|00002f90| 20 73 79 73 63 61 6c 6c | 28 53 59 53 5f 6f 70 65 | syscall|(SYS_ope|
|00002fa0| 6e 2c 20 66 69 6c 65 6e | 61 6d 65 2c 20 66 6c 61 |n, filen|ame, fla|
|00002fb0| 67 73 2c 20 6d 6f 64 65 | 29 3b 0a 0a 20 20 69 66 |gs, mode|);.. if|
|00002fc0| 20 28 62 61 63 6b 65 64 | 5f 75 70 29 20 7b 0a 20 | (backed|_up) {. |
|00002fd0| 20 20 20 69 66 20 28 72 | 65 73 75 6c 74 20 3c 20 | if (r|esult < |
|00002fe0| 30 29 20 7b 0a 20 20 20 | 20 20 20 73 79 73 63 61 |0) {. | sysca|
|00002ff0| 6c 6c 28 53 59 53 5f 72 | 65 6e 61 6d 65 2c 20 62 |ll(SYS_r|ename, b|
|00003000| 61 63 6b 75 70 5f 66 69 | 6c 65 6e 61 6d 65 2c 20 |ackup_fi|lename, |
|00003010| 66 69 6c 65 6e 61 6d 65 | 29 3b 0a 20 20 20 20 7d |filename|);. }|
|00003020| 20 65 6c 73 65 20 7b 0a | 20 20 20 20 20 20 6c 6f | else {.| lo|
|00003030| 67 5f 65 76 65 6e 74 28 | 22 62 61 63 6b 75 70 20 |g_event(|"backup |
|00003040| 25 73 20 25 73 20 25 73 | 5c 6e 22 2c 20 63 77 64 |%s %s %s|\n", cwd|
|00003050| 2c 20 66 69 6c 65 6e 61 | 6d 65 2c 20 62 61 63 6b |, filena|me, back|
|00003060| 75 70 5f 66 69 6c 65 6e | 61 6d 65 29 3b 0a 20 20 |up_filen|ame);. |
|00003070| 20 20 7d 0a 20 20 7d 0a | 20 20 69 66 20 28 72 65 | }. }.| if (re|
|00003080| 63 6f 72 64 5f 65 76 65 | 6e 74 29 20 7b 0a 20 20 |cord_eve|nt) {. |
|00003090| 20 20 6c 6f 67 5f 65 76 | 65 6e 74 28 22 77 72 69 | log_ev|ent("wri|
|000030a0| 74 65 20 25 73 20 25 73 | 20 30 78 25 78 20 30 25 |te %s %s| 0x%x 0%|
|000030b0| 6f 5c 6e 22 2c 20 63 77 | 64 2c 20 66 69 6c 65 6e |o\n", cw|d, filen|
|000030c0| 61 6d 65 2c 20 66 6c 61 | 67 73 2c 20 6d 6f 64 65 |ame, fla|gs, mode|
|000030d0| 29 3b 0a 20 20 7d 0a 20 | 20 72 65 74 75 72 6e 20 |);. }. | return |
|000030e0| 72 65 73 75 6c 74 3b 0a | 7d 0a 00 00 00 00 00 00 |result;.|}.......|
|000030f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003200| 6c 6f 67 77 72 69 74 65 | 73 2d 31 2e 31 2f 6c 6f |logwrite|s-1.1/lo|
|00003210| 67 77 72 69 74 65 73 2e | 6c 73 6d 00 00 00 00 00 |gwrites.|lsm.....|
|00003220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003260| 00 00 00 00 31 30 30 34 | 34 34 20 00 20 20 20 20 |....1004|44 . |
|00003270| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00003280| 20 20 20 31 31 37 31 20 | 20 36 31 35 32 37 36 33 | 1171 | 6152763|
|00003290| 33 31 36 20 20 31 34 35 | 35 35 00 20 30 00 00 00 |316 145|55. 0...|
|000032a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003300| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00003310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003320| 00 00 00 00 00 00 00 00 | 00 73 79 73 74 65 6d 00 |........|.system.|
|00003330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003400| 42 65 67 69 6e 33 0a 54 | 69 74 6c 65 3a 20 20 20 |Begin3.T|itle: |
|00003410| 20 20 20 20 20 20 20 6c | 6f 67 77 72 69 74 65 73 | l|ogwrites|
|00003420| 0a 56 65 72 73 69 6f 6e | 3a 20 20 20 20 20 20 20 |.Version|: |
|00003430| 20 31 2e 31 0a 45 6e 74 | 65 72 65 64 2d 64 61 74 | 1.1.Ent|ered-dat|
|00003440| 65 3a 20 20 20 32 38 4d | 41 59 39 36 0a 44 65 73 |e: 28M|AY96.Des|
|00003450| 63 72 69 70 74 69 6f 6e | 3a 20 20 20 20 4c 69 62 |cription|: Lib|
|00003460| 72 61 72 79 20 66 6f 72 | 20 69 6e 74 65 72 63 65 |rary for| interce|
|00003470| 70 74 69 6e 67 2c 20 6c | 6f 67 67 69 6e 67 20 61 |pting, l|ogging a|
|00003480| 6e 64 20 73 61 76 69 6e | 67 20 66 69 6c 65 20 6d |nd savin|g file m|
|00003490| 6f 64 69 66 69 63 61 74 | 69 6f 6e 73 20 61 73 20 |odificat|ions as |
|000034a0| 74 68 65 79 20 61 72 65 | 20 62 65 69 6e 67 20 64 |they are| being d|
|000034b0| 6f 6e 65 2e 0a 4b 65 79 | 77 6f 72 64 73 3a 20 20 |one..Key|words: |
|000034c0| 20 20 20 20 20 45 4c 46 | 20 73 68 61 72 65 64 20 | ELF| shared |
|000034d0| 66 69 6c 74 65 72 20 6c | 69 62 72 61 72 79 20 66 |filter l|ibrary f|
|000034e0| 69 6c 65 20 74 72 61 63 | 6b 69 6e 67 0a 41 75 74 |ile trac|king.Aut|
|000034f0| 68 6f 72 3a 20 20 20 20 | 20 20 20 20 20 61 64 61 |hor: | ada|
|00003500| 6d 40 79 67 67 64 72 61 | 73 69 6c 2e 63 6f 6d 20 |m@yggdra|sil.com |
|00003510| 28 41 64 61 6d 20 4a 2e | 20 52 69 63 68 74 65 72 |(Adam J.| Richter|
|00003520| 29 0a 4d 61 69 6e 74 61 | 69 6e 65 64 2d 62 79 3a |).Mainta|ined-by:|
|00003530| 20 20 61 64 61 6d 40 79 | 67 67 64 72 61 73 69 6c | adam@y|ggdrasil|
|00003540| 2e 63 6f 6d 20 28 41 64 | 61 6d 20 4a 2e 20 52 69 |.com (Ad|am J. Ri|
|00003550| 63 68 74 65 72 29 0a 50 | 72 69 6d 61 72 79 2d 73 |chter).P|rimary-s|
|00003560| 69 74 65 3a 20 20 20 66 | 74 70 2e 79 67 67 64 72 |ite: f|tp.yggdr|
|00003570| 61 73 69 6c 2e 63 6f 6d | 20 70 75 62 2f 64 69 73 |asil.com| pub/dis|
|00003580| 74 2f 70 6b 67 0a 09 09 | 31 31 6b 42 20 6c 6f 67 |t/pkg...|11kB log|
|00003590| 77 72 69 74 65 73 2d 31 | 2e 31 2e 74 61 72 2e 67 |writes-1|.1.tar.g|
|000035a0| 7a 0a 41 6c 74 65 72 6e | 61 74 65 2d 73 69 74 65 |z.Altern|ate-site|
|000035b0| 3a 20 73 75 6e 73 69 74 | 65 2e 75 6e 63 2e 65 64 |: sunsit|e.unc.ed|
|000035c0| 75 20 70 75 62 2f 4c 69 | 6e 75 78 2f 6c 69 62 73 |u pub/Li|nux/libs|
|000035d0| 0a 09 09 31 31 6b 42 20 | 6c 6f 67 77 72 69 74 65 |...11kB |logwrite|
|000035e0| 73 2d 31 2e 31 2e 74 61 | 72 2e 67 7a 0a 41 6c 74 |s-1.1.ta|r.gz.Alt|
|000035f0| 65 72 6e 61 74 65 2d 73 | 69 74 65 3a 20 74 73 78 |ernate-s|ite: tsx|
|00003600| 2d 31 31 2e 6d 69 74 2e | 65 64 75 20 70 75 62 2f |-11.mit.|edu pub/|
|00003610| 6c 69 6e 75 78 2f 73 6f | 75 72 63 65 73 2f 6c 69 |linux/so|urces/li|
|00003620| 62 73 0a 09 09 31 31 6b | 42 20 6c 6f 67 77 72 69 |bs...11k|B logwri|
|00003630| 74 65 73 2d 31 2e 31 2e | 74 61 72 2e 67 7a 0a 4f |tes-1.1.|tar.gz.O|
|00003640| 72 69 67 69 6e 61 6c 2d | 73 69 74 65 3a 20 20 0a |riginal-|site: .|
|00003650| 50 6c 61 74 66 6f 72 6d | 73 3a 20 20 20 20 20 20 |Platform|s: |
|00003660| 0a 43 6f 70 79 69 6e 67 | 2d 70 6f 6c 69 63 79 3a |.Copying|-policy:|
|00003670| 20 47 50 4c 0a 45 6e 64 | 0a 00 00 00 00 00 00 00 | GPL.End|........|
|00003680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003800| 6c 6f 67 77 72 69 74 65 | 73 2d 31 2e 31 2f 43 4f |logwrite|s-1.1/CO|
|00003810| 50 59 49 4e 47 00 00 00 | 00 00 00 00 00 00 00 00 |PYING...|........|
|00003820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003860| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00003870| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00003880| 20 20 34 33 30 37 30 20 | 20 36 31 35 32 37 35 37 | 43070 | 6152757|
|00003890| 32 36 34 20 20 31 33 31 | 30 37 00 20 30 00 00 00 |264 131|07. 0...|
|000038a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003900| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00003910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003920| 00 00 00 00 00 00 00 00 | 00 73 79 73 74 65 6d 00 |........|.system.|
|00003930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a00| 09 09 20 20 20 20 47 4e | 55 20 47 45 4e 45 52 41 |.. GN|U GENERA|
|00003a10| 4c 20 50 55 42 4c 49 43 | 20 4c 49 43 45 4e 53 45 |L PUBLIC| LICENSE|
|00003a20| 0a 09 09 20 20 20 20 20 | 20 20 56 65 72 73 69 6f |... | Versio|
|00003a30| 6e 20 32 2c 20 4a 75 6e | 65 20 31 39 39 31 0a 0a |n 2, Jun|e 1991..|
|00003a40| 20 43 6f 70 79 72 69 67 | 68 74 20 28 43 29 20 31 | Copyrig|ht (C) 1|
|00003a50| 39 38 39 2c 20 31 39 39 | 31 20 46 72 65 65 20 53 |989, 199|1 Free S|
|00003a60| 6f 66 74 77 61 72 65 20 | 46 6f 75 6e 64 61 74 69 |oftware |Foundati|
|00003a70| 6f 6e 2c 20 49 6e 63 2e | 0a 20 20 20 20 20 20 20 |on, Inc.|. |
|00003a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003a90| 20 20 20 36 37 35 20 4d | 61 73 73 20 41 76 65 2c | 675 M|ass Ave,|
|00003aa0| 20 43 61 6d 62 72 69 64 | 67 65 2c 20 4d 41 20 30 | Cambrid|ge, MA 0|
|00003ab0| 32 31 33 39 2c 20 55 53 | 41 0a 20 45 76 65 72 79 |2139, US|A. Every|
|00003ac0| 6f 6e 65 20 69 73 20 70 | 65 72 6d 69 74 74 65 64 |one is p|ermitted|
|00003ad0| 20 74 6f 20 63 6f 70 79 | 20 61 6e 64 20 64 69 73 | to copy| and dis|
|00003ae0| 74 72 69 62 75 74 65 20 | 76 65 72 62 61 74 69 6d |tribute |verbatim|
|00003af0| 20 63 6f 70 69 65 73 0a | 20 6f 66 20 74 68 69 73 | copies.| of this|
|00003b00| 20 6c 69 63 65 6e 73 65 | 20 64 6f 63 75 6d 65 6e | license| documen|
|00003b10| 74 2c 20 62 75 74 20 63 | 68 61 6e 67 69 6e 67 20 |t, but c|hanging |
|00003b20| 69 74 20 69 73 20 6e 6f | 74 20 61 6c 6c 6f 77 65 |it is no|t allowe|
|00003b30| 64 2e 0a 0a 09 09 09 20 | 20 20 20 50 72 65 61 6d |d...... | Pream|
|00003b40| 62 6c 65 0a 0a 20 20 54 | 68 65 20 6c 69 63 65 6e |ble.. T|he licen|
|00003b50| 73 65 73 20 66 6f 72 20 | 6d 6f 73 74 20 73 6f 66 |ses for |most sof|
|00003b60| 74 77 61 72 65 20 61 72 | 65 20 64 65 73 69 67 6e |tware ar|e design|
|00003b70| 65 64 20 74 6f 20 74 61 | 6b 65 20 61 77 61 79 20 |ed to ta|ke away |
|00003b80| 79 6f 75 72 0a 66 72 65 | 65 64 6f 6d 20 74 6f 20 |your.fre|edom to |
|00003b90| 73 68 61 72 65 20 61 6e | 64 20 63 68 61 6e 67 65 |share an|d change|
|00003ba0| 20 69 74 2e 20 20 42 79 | 20 63 6f 6e 74 72 61 73 | it. By| contras|
|00003bb0| 74 2c 20 74 68 65 20 47 | 4e 55 20 47 65 6e 65 72 |t, the G|NU Gener|
|00003bc0| 61 6c 20 50 75 62 6c 69 | 63 0a 4c 69 63 65 6e 73 |al Publi|c.Licens|
|00003bd0| 65 20 69 73 20 69 6e 74 | 65 6e 64 65 64 20 74 6f |e is int|ended to|
|00003be0| 20 67 75 61 72 61 6e 74 | 65 65 20 79 6f 75 72 20 | guarant|ee your |
|00003bf0| 66 72 65 65 64 6f 6d 20 | 74 6f 20 73 68 61 72 65 |freedom |to share|
|00003c00| 20 61 6e 64 20 63 68 61 | 6e 67 65 20 66 72 65 65 | and cha|nge free|
|00003c10| 0a 73 6f 66 74 77 61 72 | 65 2d 2d 74 6f 20 6d 61 |.softwar|e--to ma|
|00003c20| 6b 65 20 73 75 72 65 20 | 74 68 65 20 73 6f 66 74 |ke sure |the soft|
|00003c30| 77 61 72 65 20 69 73 20 | 66 72 65 65 20 66 6f 72 |ware is |free for|
|00003c40| 20 61 6c 6c 20 69 74 73 | 20 75 73 65 72 73 2e 20 | all its| users. |
|00003c50| 20 54 68 69 73 0a 47 65 | 6e 65 72 61 6c 20 50 75 | This.Ge|neral Pu|
|00003c60| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 61 70 70 |blic Lic|ense app|
|00003c70| 6c 69 65 73 20 74 6f 20 | 6d 6f 73 74 20 6f 66 20 |lies to |most of |
|00003c80| 74 68 65 20 46 72 65 65 | 20 53 6f 66 74 77 61 72 |the Free| Softwar|
|00003c90| 65 0a 46 6f 75 6e 64 61 | 74 69 6f 6e 27 73 20 73 |e.Founda|tion's s|
|00003ca0| 6f 66 74 77 61 72 65 20 | 61 6e 64 20 74 6f 20 61 |oftware |and to a|
|00003cb0| 6e 79 20 6f 74 68 65 72 | 20 70 72 6f 67 72 61 6d |ny other| program|
|00003cc0| 20 77 68 6f 73 65 20 61 | 75 74 68 6f 72 73 20 63 | whose a|uthors c|
|00003cd0| 6f 6d 6d 69 74 20 74 6f | 0a 75 73 69 6e 67 20 69 |ommit to|.using i|
|00003ce0| 74 2e 20 20 28 53 6f 6d | 65 20 6f 74 68 65 72 20 |t. (Som|e other |
|00003cf0| 46 72 65 65 20 53 6f 66 | 74 77 61 72 65 20 46 6f |Free Sof|tware Fo|
|00003d00| 75 6e 64 61 74 69 6f 6e | 20 73 6f 66 74 77 61 72 |undation| softwar|
|00003d10| 65 20 69 73 20 63 6f 76 | 65 72 65 64 20 62 79 0a |e is cov|ered by.|
|00003d20| 74 68 65 20 47 4e 55 20 | 4c 69 62 72 61 72 79 20 |the GNU |Library |
|00003d30| 47 65 6e 65 72 61 6c 20 | 50 75 62 6c 69 63 20 4c |General |Public L|
|00003d40| 69 63 65 6e 73 65 20 69 | 6e 73 74 65 61 64 2e 29 |icense i|nstead.)|
|00003d50| 20 20 59 6f 75 20 63 61 | 6e 20 61 70 70 6c 79 20 | You ca|n apply |
|00003d60| 69 74 20 74 6f 0a 79 6f | 75 72 20 70 72 6f 67 72 |it to.yo|ur progr|
|00003d70| 61 6d 73 2c 20 74 6f 6f | 2e 0a 0a 20 20 57 68 65 |ams, too|... Whe|
|00003d80| 6e 20 77 65 20 73 70 65 | 61 6b 20 6f 66 20 66 72 |n we spe|ak of fr|
|00003d90| 65 65 20 73 6f 66 74 77 | 61 72 65 2c 20 77 65 20 |ee softw|are, we |
|00003da0| 61 72 65 20 72 65 66 65 | 72 72 69 6e 67 20 74 6f |are refe|rring to|
|00003db0| 20 66 72 65 65 64 6f 6d | 2c 20 6e 6f 74 0a 70 72 | freedom|, not.pr|
|00003dc0| 69 63 65 2e 20 20 4f 75 | 72 20 47 65 6e 65 72 61 |ice. Ou|r Genera|
|00003dd0| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00003de0| 73 20 61 72 65 20 64 65 | 73 69 67 6e 65 64 20 74 |s are de|signed t|
|00003df0| 6f 20 6d 61 6b 65 20 73 | 75 72 65 20 74 68 61 74 |o make s|ure that|
|00003e00| 20 79 6f 75 0a 68 61 76 | 65 20 74 68 65 20 66 72 | you.hav|e the fr|
|00003e10| 65 65 64 6f 6d 20 74 6f | 20 64 69 73 74 72 69 62 |eedom to| distrib|
|00003e20| 75 74 65 20 63 6f 70 69 | 65 73 20 6f 66 20 66 72 |ute copi|es of fr|
|00003e30| 65 65 20 73 6f 66 74 77 | 61 72 65 20 28 61 6e 64 |ee softw|are (and|
|00003e40| 20 63 68 61 72 67 65 20 | 66 6f 72 0a 74 68 69 73 | charge |for.this|
|00003e50| 20 73 65 72 76 69 63 65 | 20 69 66 20 79 6f 75 20 | service| if you |
|00003e60| 77 69 73 68 29 2c 20 74 | 68 61 74 20 79 6f 75 20 |wish), t|hat you |
|00003e70| 72 65 63 65 69 76 65 20 | 73 6f 75 72 63 65 20 63 |receive |source c|
|00003e80| 6f 64 65 20 6f 72 20 63 | 61 6e 20 67 65 74 20 69 |ode or c|an get i|
|00003e90| 74 0a 69 66 20 79 6f 75 | 20 77 61 6e 74 20 69 74 |t.if you| want it|
|00003ea0| 2c 20 74 68 61 74 20 79 | 6f 75 20 63 61 6e 20 63 |, that y|ou can c|
|00003eb0| 68 61 6e 67 65 20 74 68 | 65 20 73 6f 66 74 77 61 |hange th|e softwa|
|00003ec0| 72 65 20 6f 72 20 75 73 | 65 20 70 69 65 63 65 73 |re or us|e pieces|
|00003ed0| 20 6f 66 20 69 74 0a 69 | 6e 20 6e 65 77 20 66 72 | of it.i|n new fr|
|00003ee0| 65 65 20 70 72 6f 67 72 | 61 6d 73 3b 20 61 6e 64 |ee progr|ams; and|
|00003ef0| 20 74 68 61 74 20 79 6f | 75 20 6b 6e 6f 77 20 79 | that yo|u know y|
|00003f00| 6f 75 20 63 61 6e 20 64 | 6f 20 74 68 65 73 65 20 |ou can d|o these |
|00003f10| 74 68 69 6e 67 73 2e 0a | 0a 20 20 54 6f 20 70 72 |things..|. To pr|
|00003f20| 6f 74 65 63 74 20 79 6f | 75 72 20 72 69 67 68 74 |otect yo|ur right|
|00003f30| 73 2c 20 77 65 20 6e 65 | 65 64 20 74 6f 20 6d 61 |s, we ne|ed to ma|
|00003f40| 6b 65 20 72 65 73 74 72 | 69 63 74 69 6f 6e 73 20 |ke restr|ictions |
|00003f50| 74 68 61 74 20 66 6f 72 | 62 69 64 0a 61 6e 79 6f |that for|bid.anyo|
|00003f60| 6e 65 20 74 6f 20 64 65 | 6e 79 20 79 6f 75 20 74 |ne to de|ny you t|
|00003f70| 68 65 73 65 20 72 69 67 | 68 74 73 20 6f 72 20 74 |hese rig|hts or t|
|00003f80| 6f 20 61 73 6b 20 79 6f | 75 20 74 6f 20 73 75 72 |o ask yo|u to sur|
|00003f90| 72 65 6e 64 65 72 20 74 | 68 65 20 72 69 67 68 74 |render t|he right|
|00003fa0| 73 2e 0a 54 68 65 73 65 | 20 72 65 73 74 72 69 63 |s..These| restric|
|00003fb0| 74 69 6f 6e 73 20 74 72 | 61 6e 73 6c 61 74 65 20 |tions tr|anslate |
|00003fc0| 74 6f 20 63 65 72 74 61 | 69 6e 20 72 65 73 70 6f |to certa|in respo|
|00003fd0| 6e 73 69 62 69 6c 69 74 | 69 65 73 20 66 6f 72 20 |nsibilit|ies for |
|00003fe0| 79 6f 75 20 69 66 20 79 | 6f 75 0a 64 69 73 74 72 |you if y|ou.distr|
|00003ff0| 69 62 75 74 65 20 63 6f | 70 69 65 73 20 6f 66 20 |ibute co|pies of |
|00004000| 74 68 65 20 73 6f 66 74 | 77 61 72 65 2c 20 6f 72 |the soft|ware, or|
|00004010| 20 69 66 20 79 6f 75 20 | 6d 6f 64 69 66 79 20 69 | if you |modify i|
|00004020| 74 2e 0a 0a 20 20 46 6f | 72 20 65 78 61 6d 70 6c |t... Fo|r exampl|
|00004030| 65 2c 20 69 66 20 79 6f | 75 20 64 69 73 74 72 69 |e, if yo|u distri|
|00004040| 62 75 74 65 20 63 6f 70 | 69 65 73 20 6f 66 20 73 |bute cop|ies of s|
|00004050| 75 63 68 20 61 20 70 72 | 6f 67 72 61 6d 2c 20 77 |uch a pr|ogram, w|
|00004060| 68 65 74 68 65 72 0a 67 | 72 61 74 69 73 20 6f 72 |hether.g|ratis or|
|00004070| 20 66 6f 72 20 61 20 66 | 65 65 2c 20 79 6f 75 20 | for a f|ee, you |
|00004080| 6d 75 73 74 20 67 69 76 | 65 20 74 68 65 20 72 65 |must giv|e the re|
|00004090| 63 69 70 69 65 6e 74 73 | 20 61 6c 6c 20 74 68 65 |cipients| all the|
|000040a0| 20 72 69 67 68 74 73 20 | 74 68 61 74 0a 79 6f 75 | rights |that.you|
|000040b0| 20 68 61 76 65 2e 20 20 | 59 6f 75 20 6d 75 73 74 | have. |You must|
|000040c0| 20 6d 61 6b 65 20 73 75 | 72 65 20 74 68 61 74 20 | make su|re that |
|000040d0| 74 68 65 79 2c 20 74 6f | 6f 2c 20 72 65 63 65 69 |they, to|o, recei|
|000040e0| 76 65 20 6f 72 20 63 61 | 6e 20 67 65 74 20 74 68 |ve or ca|n get th|
|000040f0| 65 0a 73 6f 75 72 63 65 | 20 63 6f 64 65 2e 20 20 |e.source| code. |
|00004100| 41 6e 64 20 79 6f 75 20 | 6d 75 73 74 20 73 68 6f |And you |must sho|
|00004110| 77 20 74 68 65 6d 20 74 | 68 65 73 65 20 74 65 72 |w them t|hese ter|
|00004120| 6d 73 20 73 6f 20 74 68 | 65 79 20 6b 6e 6f 77 20 |ms so th|ey know |
|00004130| 74 68 65 69 72 0a 72 69 | 67 68 74 73 2e 0a 0a 20 |their.ri|ghts... |
|00004140| 20 57 65 20 70 72 6f 74 | 65 63 74 20 79 6f 75 72 | We prot|ect your|
|00004150| 20 72 69 67 68 74 73 20 | 77 69 74 68 20 74 77 6f | rights |with two|
|00004160| 20 73 74 65 70 73 3a 20 | 28 31 29 20 63 6f 70 79 | steps: |(1) copy|
|00004170| 72 69 67 68 74 20 74 68 | 65 20 73 6f 66 74 77 61 |right th|e softwa|
|00004180| 72 65 2c 20 61 6e 64 0a | 28 32 29 20 6f 66 66 65 |re, and.|(2) offe|
|00004190| 72 20 79 6f 75 20 74 68 | 69 73 20 6c 69 63 65 6e |r you th|is licen|
|000041a0| 73 65 20 77 68 69 63 68 | 20 67 69 76 65 73 20 79 |se which| gives y|
|000041b0| 6f 75 20 6c 65 67 61 6c | 20 70 65 72 6d 69 73 73 |ou legal| permiss|
|000041c0| 69 6f 6e 20 74 6f 20 63 | 6f 70 79 2c 0a 64 69 73 |ion to c|opy,.dis|
|000041d0| 74 72 69 62 75 74 65 20 | 61 6e 64 2f 6f 72 20 6d |tribute |and/or m|
|000041e0| 6f 64 69 66 79 20 74 68 | 65 20 73 6f 66 74 77 61 |odify th|e softwa|
|000041f0| 72 65 2e 0a 0a 20 20 41 | 6c 73 6f 2c 20 66 6f 72 |re... A|lso, for|
|00004200| 20 65 61 63 68 20 61 75 | 74 68 6f 72 27 73 20 70 | each au|thor's p|
|00004210| 72 6f 74 65 63 74 69 6f | 6e 20 61 6e 64 20 6f 75 |rotectio|n and ou|
|00004220| 72 73 2c 20 77 65 20 77 | 61 6e 74 20 74 6f 20 6d |rs, we w|ant to m|
|00004230| 61 6b 65 20 63 65 72 74 | 61 69 6e 0a 74 68 61 74 |ake cert|ain.that|
|00004240| 20 65 76 65 72 79 6f 6e | 65 20 75 6e 64 65 72 73 | everyon|e unders|
|00004250| 74 61 6e 64 73 20 74 68 | 61 74 20 74 68 65 72 65 |tands th|at there|
|00004260| 20 69 73 20 6e 6f 20 77 | 61 72 72 61 6e 74 79 20 | is no w|arranty |
|00004270| 66 6f 72 20 74 68 69 73 | 20 66 72 65 65 0a 73 6f |for this| free.so|
|00004280| 66 74 77 61 72 65 2e 20 | 20 49 66 20 74 68 65 20 |ftware. | If the |
|00004290| 73 6f 66 74 77 61 72 65 | 20 69 73 20 6d 6f 64 69 |software| is modi|
|000042a0| 66 69 65 64 20 62 79 20 | 73 6f 6d 65 6f 6e 65 20 |fied by |someone |
|000042b0| 65 6c 73 65 20 61 6e 64 | 20 70 61 73 73 65 64 20 |else and| passed |
|000042c0| 6f 6e 2c 20 77 65 0a 77 | 61 6e 74 20 69 74 73 20 |on, we.w|ant its |
|000042d0| 72 65 63 69 70 69 65 6e | 74 73 20 74 6f 20 6b 6e |recipien|ts to kn|
|000042e0| 6f 77 20 74 68 61 74 20 | 77 68 61 74 20 74 68 65 |ow that |what the|
|000042f0| 79 20 68 61 76 65 20 69 | 73 20 6e 6f 74 20 74 68 |y have i|s not th|
|00004300| 65 20 6f 72 69 67 69 6e | 61 6c 2c 20 73 6f 0a 74 |e origin|al, so.t|
|00004310| 68 61 74 20 61 6e 79 20 | 70 72 6f 62 6c 65 6d 73 |hat any |problems|
|00004320| 20 69 6e 74 72 6f 64 75 | 63 65 64 20 62 79 20 6f | introdu|ced by o|
|00004330| 74 68 65 72 73 20 77 69 | 6c 6c 20 6e 6f 74 20 72 |thers wi|ll not r|
|00004340| 65 66 6c 65 63 74 20 6f | 6e 20 74 68 65 20 6f 72 |eflect o|n the or|
|00004350| 69 67 69 6e 61 6c 0a 61 | 75 74 68 6f 72 73 27 20 |iginal.a|uthors' |
|00004360| 72 65 70 75 74 61 74 69 | 6f 6e 73 2e 0a 0a 20 20 |reputati|ons... |
|00004370| 46 69 6e 61 6c 6c 79 2c | 20 61 6e 79 20 66 72 65 |Finally,| any fre|
|00004380| 65 20 70 72 6f 67 72 61 | 6d 20 69 73 20 74 68 72 |e progra|m is thr|
|00004390| 65 61 74 65 6e 65 64 20 | 63 6f 6e 73 74 61 6e 74 |eatened |constant|
|000043a0| 6c 79 20 62 79 20 73 6f | 66 74 77 61 72 65 0a 70 |ly by so|ftware.p|
|000043b0| 61 74 65 6e 74 73 2e 20 | 20 57 65 20 77 69 73 68 |atents. | We wish|
|000043c0| 20 74 6f 20 61 76 6f 69 | 64 20 74 68 65 20 64 61 | to avoi|d the da|
|000043d0| 6e 67 65 72 20 74 68 61 | 74 20 72 65 64 69 73 74 |nger tha|t redist|
|000043e0| 72 69 62 75 74 6f 72 73 | 20 6f 66 20 61 20 66 72 |ributors| of a fr|
|000043f0| 65 65 0a 70 72 6f 67 72 | 61 6d 20 77 69 6c 6c 20 |ee.progr|am will |
|00004400| 69 6e 64 69 76 69 64 75 | 61 6c 6c 79 20 6f 62 74 |individu|ally obt|
|00004410| 61 69 6e 20 70 61 74 65 | 6e 74 20 6c 69 63 65 6e |ain pate|nt licen|
|00004420| 73 65 73 2c 20 69 6e 20 | 65 66 66 65 63 74 20 6d |ses, in |effect m|
|00004430| 61 6b 69 6e 67 20 74 68 | 65 0a 70 72 6f 67 72 61 |aking th|e.progra|
|00004440| 6d 20 70 72 6f 70 72 69 | 65 74 61 72 79 2e 20 20 |m propri|etary. |
|00004450| 54 6f 20 70 72 65 76 65 | 6e 74 20 74 68 69 73 2c |To preve|nt this,|
|00004460| 20 77 65 20 68 61 76 65 | 20 6d 61 64 65 20 69 74 | we have| made it|
|00004470| 20 63 6c 65 61 72 20 74 | 68 61 74 20 61 6e 79 0a | clear t|hat any.|
|00004480| 70 61 74 65 6e 74 20 6d | 75 73 74 20 62 65 20 6c |patent m|ust be l|
|00004490| 69 63 65 6e 73 65 64 20 | 66 6f 72 20 65 76 65 72 |icensed |for ever|
|000044a0| 79 6f 6e 65 27 73 20 66 | 72 65 65 20 75 73 65 20 |yone's f|ree use |
|000044b0| 6f 72 20 6e 6f 74 20 6c | 69 63 65 6e 73 65 64 20 |or not l|icensed |
|000044c0| 61 74 20 61 6c 6c 2e 0a | 0a 20 20 54 68 65 20 70 |at all..|. The p|
|000044d0| 72 65 63 69 73 65 20 74 | 65 72 6d 73 20 61 6e 64 |recise t|erms and|
|000044e0| 20 63 6f 6e 64 69 74 69 | 6f 6e 73 20 66 6f 72 20 | conditi|ons for |
|000044f0| 63 6f 70 79 69 6e 67 2c | 20 64 69 73 74 72 69 62 |copying,| distrib|
|00004500| 75 74 69 6f 6e 20 61 6e | 64 0a 6d 6f 64 69 66 69 |ution an|d.modifi|
|00004510| 63 61 74 69 6f 6e 20 66 | 6f 6c 6c 6f 77 2e 0a 0c |cation f|ollow...|
|00004520| 0a 09 09 20 20 20 20 47 | 4e 55 20 47 45 4e 45 52 |... G|NU GENER|
|00004530| 41 4c 20 50 55 42 4c 49 | 43 20 4c 49 43 45 4e 53 |AL PUBLI|C LICENS|
|00004540| 45 0a 20 20 20 54 45 52 | 4d 53 20 41 4e 44 20 43 |E. TER|MS AND C|
|00004550| 4f 4e 44 49 54 49 4f 4e | 53 20 46 4f 52 20 43 4f |ONDITION|S FOR CO|
|00004560| 50 59 49 4e 47 2c 20 44 | 49 53 54 52 49 42 55 54 |PYING, D|ISTRIBUT|
|00004570| 49 4f 4e 20 41 4e 44 20 | 4d 4f 44 49 46 49 43 41 |ION AND |MODIFICA|
|00004580| 54 49 4f 4e 0a 0a 20 20 | 30 2e 20 54 68 69 73 20 |TION.. |0. This |
|00004590| 4c 69 63 65 6e 73 65 20 | 61 70 70 6c 69 65 73 20 |License |applies |
|000045a0| 74 6f 20 61 6e 79 20 70 | 72 6f 67 72 61 6d 20 6f |to any p|rogram o|
|000045b0| 72 20 6f 74 68 65 72 20 | 77 6f 72 6b 20 77 68 69 |r other |work whi|
|000045c0| 63 68 20 63 6f 6e 74 61 | 69 6e 73 0a 61 20 6e 6f |ch conta|ins.a no|
|000045d0| 74 69 63 65 20 70 6c 61 | 63 65 64 20 62 79 20 74 |tice pla|ced by t|
|000045e0| 68 65 20 63 6f 70 79 72 | 69 67 68 74 20 68 6f 6c |he copyr|ight hol|
|000045f0| 64 65 72 20 73 61 79 69 | 6e 67 20 69 74 20 6d 61 |der sayi|ng it ma|
|00004600| 79 20 62 65 20 64 69 73 | 74 72 69 62 75 74 65 64 |y be dis|tributed|
|00004610| 0a 75 6e 64 65 72 20 74 | 68 65 20 74 65 72 6d 73 |.under t|he terms|
|00004620| 20 6f 66 20 74 68 69 73 | 20 47 65 6e 65 72 61 6c | of this| General|
|00004630| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 2e | Public |License.|
|00004640| 20 20 54 68 65 20 22 50 | 72 6f 67 72 61 6d 22 2c | The "P|rogram",|
|00004650| 20 62 65 6c 6f 77 2c 0a | 72 65 66 65 72 73 20 74 | below,.|refers t|
|00004660| 6f 20 61 6e 79 20 73 75 | 63 68 20 70 72 6f 67 72 |o any su|ch progr|
|00004670| 61 6d 20 6f 72 20 77 6f | 72 6b 2c 20 61 6e 64 20 |am or wo|rk, and |
|00004680| 61 20 22 77 6f 72 6b 20 | 62 61 73 65 64 20 6f 6e |a "work |based on|
|00004690| 20 74 68 65 20 50 72 6f | 67 72 61 6d 22 0a 6d 65 | the Pro|gram".me|
|000046a0| 61 6e 73 20 65 69 74 68 | 65 72 20 74 68 65 20 50 |ans eith|er the P|
|000046b0| 72 6f 67 72 61 6d 20 6f | 72 20 61 6e 79 20 64 65 |rogram o|r any de|
|000046c0| 72 69 76 61 74 69 76 65 | 20 77 6f 72 6b 20 75 6e |rivative| work un|
|000046d0| 64 65 72 20 63 6f 70 79 | 72 69 67 68 74 20 6c 61 |der copy|right la|
|000046e0| 77 3a 0a 74 68 61 74 20 | 69 73 20 74 6f 20 73 61 |w:.that |is to sa|
|000046f0| 79 2c 20 61 20 77 6f 72 | 6b 20 63 6f 6e 74 61 69 |y, a wor|k contai|
|00004700| 6e 69 6e 67 20 74 68 65 | 20 50 72 6f 67 72 61 6d |ning the| Program|
|00004710| 20 6f 72 20 61 20 70 6f | 72 74 69 6f 6e 20 6f 66 | or a po|rtion of|
|00004720| 20 69 74 2c 0a 65 69 74 | 68 65 72 20 76 65 72 62 | it,.eit|her verb|
|00004730| 61 74 69 6d 20 6f 72 20 | 77 69 74 68 20 6d 6f 64 |atim or |with mod|
|00004740| 69 66 69 63 61 74 69 6f | 6e 73 20 61 6e 64 2f 6f |ificatio|ns and/o|
|00004750| 72 20 74 72 61 6e 73 6c | 61 74 65 64 20 69 6e 74 |r transl|ated int|
|00004760| 6f 20 61 6e 6f 74 68 65 | 72 0a 6c 61 6e 67 75 61 |o anothe|r.langua|
|00004770| 67 65 2e 20 20 28 48 65 | 72 65 69 6e 61 66 74 65 |ge. (He|reinafte|
|00004780| 72 2c 20 74 72 61 6e 73 | 6c 61 74 69 6f 6e 20 69 |r, trans|lation i|
|00004790| 73 20 69 6e 63 6c 75 64 | 65 64 20 77 69 74 68 6f |s includ|ed witho|
|000047a0| 75 74 20 6c 69 6d 69 74 | 61 74 69 6f 6e 20 69 6e |ut limit|ation in|
|000047b0| 0a 74 68 65 20 74 65 72 | 6d 20 22 6d 6f 64 69 66 |.the ter|m "modif|
|000047c0| 69 63 61 74 69 6f 6e 22 | 2e 29 20 20 45 61 63 68 |ication"|.) Each|
|000047d0| 20 6c 69 63 65 6e 73 65 | 65 20 69 73 20 61 64 64 | license|e is add|
|000047e0| 72 65 73 73 65 64 20 61 | 73 20 22 79 6f 75 22 2e |ressed a|s "you".|
|000047f0| 0a 0a 41 63 74 69 76 69 | 74 69 65 73 20 6f 74 68 |..Activi|ties oth|
|00004800| 65 72 20 74 68 61 6e 20 | 63 6f 70 79 69 6e 67 2c |er than |copying,|
|00004810| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 61 6e | distrib|ution an|
|00004820| 64 20 6d 6f 64 69 66 69 | 63 61 74 69 6f 6e 20 61 |d modifi|cation a|
|00004830| 72 65 20 6e 6f 74 0a 63 | 6f 76 65 72 65 64 20 62 |re not.c|overed b|
|00004840| 79 20 74 68 69 73 20 4c | 69 63 65 6e 73 65 3b 20 |y this L|icense; |
|00004850| 74 68 65 79 20 61 72 65 | 20 6f 75 74 73 69 64 65 |they are| outside|
|00004860| 20 69 74 73 20 73 63 6f | 70 65 2e 20 20 54 68 65 | its sco|pe. The|
|00004870| 20 61 63 74 20 6f 66 0a | 72 75 6e 6e 69 6e 67 20 | act of.|running |
|00004880| 74 68 65 20 50 72 6f 67 | 72 61 6d 20 69 73 20 6e |the Prog|ram is n|
|00004890| 6f 74 20 72 65 73 74 72 | 69 63 74 65 64 2c 20 61 |ot restr|icted, a|
|000048a0| 6e 64 20 74 68 65 20 6f | 75 74 70 75 74 20 66 72 |nd the o|utput fr|
|000048b0| 6f 6d 20 74 68 65 20 50 | 72 6f 67 72 61 6d 0a 69 |om the P|rogram.i|
|000048c0| 73 20 63 6f 76 65 72 65 | 64 20 6f 6e 6c 79 20 69 |s covere|d only i|
|000048d0| 66 20 69 74 73 20 63 6f | 6e 74 65 6e 74 73 20 63 |f its co|ntents c|
|000048e0| 6f 6e 73 74 69 74 75 74 | 65 20 61 20 77 6f 72 6b |onstitut|e a work|
|000048f0| 20 62 61 73 65 64 20 6f | 6e 20 74 68 65 0a 50 72 | based o|n the.Pr|
|00004900| 6f 67 72 61 6d 20 28 69 | 6e 64 65 70 65 6e 64 65 |ogram (i|ndepende|
|00004910| 6e 74 20 6f 66 20 68 61 | 76 69 6e 67 20 62 65 65 |nt of ha|ving bee|
|00004920| 6e 20 6d 61 64 65 20 62 | 79 20 72 75 6e 6e 69 6e |n made b|y runnin|
|00004930| 67 20 74 68 65 20 50 72 | 6f 67 72 61 6d 29 2e 0a |g the Pr|ogram)..|
|00004940| 57 68 65 74 68 65 72 20 | 74 68 61 74 20 69 73 20 |Whether |that is |
|00004950| 74 72 75 65 20 64 65 70 | 65 6e 64 73 20 6f 6e 20 |true dep|ends on |
|00004960| 77 68 61 74 20 74 68 65 | 20 50 72 6f 67 72 61 6d |what the| Program|
|00004970| 20 64 6f 65 73 2e 0a 0a | 20 20 31 2e 20 59 6f 75 | does...| 1. You|
|00004980| 20 6d 61 79 20 63 6f 70 | 79 20 61 6e 64 20 64 69 | may cop|y and di|
|00004990| 73 74 72 69 62 75 74 65 | 20 76 65 72 62 61 74 69 |stribute| verbati|
|000049a0| 6d 20 63 6f 70 69 65 73 | 20 6f 66 20 74 68 65 20 |m copies| of the |
|000049b0| 50 72 6f 67 72 61 6d 27 | 73 0a 73 6f 75 72 63 65 |Program'|s.source|
|000049c0| 20 63 6f 64 65 20 61 73 | 20 79 6f 75 20 72 65 63 | code as| you rec|
|000049d0| 65 69 76 65 20 69 74 2c | 20 69 6e 20 61 6e 79 20 |eive it,| in any |
|000049e0| 6d 65 64 69 75 6d 2c 20 | 70 72 6f 76 69 64 65 64 |medium, |provided|
|000049f0| 20 74 68 61 74 20 79 6f | 75 0a 63 6f 6e 73 70 69 | that yo|u.conspi|
|00004a00| 63 75 6f 75 73 6c 79 20 | 61 6e 64 20 61 70 70 72 |cuously |and appr|
|00004a10| 6f 70 72 69 61 74 65 6c | 79 20 70 75 62 6c 69 73 |opriatel|y publis|
|00004a20| 68 20 6f 6e 20 65 61 63 | 68 20 63 6f 70 79 20 61 |h on eac|h copy a|
|00004a30| 6e 20 61 70 70 72 6f 70 | 72 69 61 74 65 0a 63 6f |n approp|riate.co|
|00004a40| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|00004a50| 6e 64 20 64 69 73 63 6c | 61 69 6d 65 72 20 6f 66 |nd discl|aimer of|
|00004a60| 20 77 61 72 72 61 6e 74 | 79 3b 20 6b 65 65 70 20 | warrant|y; keep |
|00004a70| 69 6e 74 61 63 74 20 61 | 6c 6c 20 74 68 65 0a 6e |intact a|ll the.n|
|00004a80| 6f 74 69 63 65 73 20 74 | 68 61 74 20 72 65 66 65 |otices t|hat refe|
|00004a90| 72 20 74 6f 20 74 68 69 | 73 20 4c 69 63 65 6e 73 |r to thi|s Licens|
|00004aa0| 65 20 61 6e 64 20 74 6f | 20 74 68 65 20 61 62 73 |e and to| the abs|
|00004ab0| 65 6e 63 65 20 6f 66 20 | 61 6e 79 20 77 61 72 72 |ence of |any warr|
|00004ac0| 61 6e 74 79 3b 0a 61 6e | 64 20 67 69 76 65 20 61 |anty;.an|d give a|
|00004ad0| 6e 79 20 6f 74 68 65 72 | 20 72 65 63 69 70 69 65 |ny other| recipie|
|00004ae0| 6e 74 73 20 6f 66 20 74 | 68 65 20 50 72 6f 67 72 |nts of t|he Progr|
|00004af0| 61 6d 20 61 20 63 6f 70 | 79 20 6f 66 20 74 68 69 |am a cop|y of thi|
|00004b00| 73 20 4c 69 63 65 6e 73 | 65 0a 61 6c 6f 6e 67 20 |s Licens|e.along |
|00004b10| 77 69 74 68 20 74 68 65 | 20 50 72 6f 67 72 61 6d |with the| Program|
|00004b20| 2e 0a 0a 59 6f 75 20 6d | 61 79 20 63 68 61 72 67 |...You m|ay charg|
|00004b30| 65 20 61 20 66 65 65 20 | 66 6f 72 20 74 68 65 20 |e a fee |for the |
|00004b40| 70 68 79 73 69 63 61 6c | 20 61 63 74 20 6f 66 20 |physical| act of |
|00004b50| 74 72 61 6e 73 66 65 72 | 72 69 6e 67 20 61 20 63 |transfer|ring a c|
|00004b60| 6f 70 79 2c 20 61 6e 64 | 0a 79 6f 75 20 6d 61 79 |opy, and|.you may|
|00004b70| 20 61 74 20 79 6f 75 72 | 20 6f 70 74 69 6f 6e 20 | at your| option |
|00004b80| 6f 66 66 65 72 20 77 61 | 72 72 61 6e 74 79 20 70 |offer wa|rranty p|
|00004b90| 72 6f 74 65 63 74 69 6f | 6e 20 69 6e 20 65 78 63 |rotectio|n in exc|
|00004ba0| 68 61 6e 67 65 20 66 6f | 72 20 61 20 66 65 65 2e |hange fo|r a fee.|
|00004bb0| 0a 0a 20 20 32 2e 20 59 | 6f 75 20 6d 61 79 20 6d |.. 2. Y|ou may m|
|00004bc0| 6f 64 69 66 79 20 79 6f | 75 72 20 63 6f 70 79 20 |odify yo|ur copy |
|00004bd0| 6f 72 20 63 6f 70 69 65 | 73 20 6f 66 20 74 68 65 |or copie|s of the|
|00004be0| 20 50 72 6f 67 72 61 6d | 20 6f 72 20 61 6e 79 20 | Program| or any |
|00004bf0| 70 6f 72 74 69 6f 6e 0a | 6f 66 20 69 74 2c 20 74 |portion.|of it, t|
|00004c00| 68 75 73 20 66 6f 72 6d | 69 6e 67 20 61 20 77 6f |hus form|ing a wo|
|00004c10| 72 6b 20 62 61 73 65 64 | 20 6f 6e 20 74 68 65 20 |rk based| on the |
|00004c20| 50 72 6f 67 72 61 6d 2c | 20 61 6e 64 20 63 6f 70 |Program,| and cop|
|00004c30| 79 20 61 6e 64 0a 64 69 | 73 74 72 69 62 75 74 65 |y and.di|stribute|
|00004c40| 20 73 75 63 68 20 6d 6f | 64 69 66 69 63 61 74 69 | such mo|dificati|
|00004c50| 6f 6e 73 20 6f 72 20 77 | 6f 72 6b 20 75 6e 64 65 |ons or w|ork unde|
|00004c60| 72 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 20 53 |r the te|rms of S|
|00004c70| 65 63 74 69 6f 6e 20 31 | 0a 61 62 6f 76 65 2c 20 |ection 1|.above, |
|00004c80| 70 72 6f 76 69 64 65 64 | 20 74 68 61 74 20 79 6f |provided| that yo|
|00004c90| 75 20 61 6c 73 6f 20 6d | 65 65 74 20 61 6c 6c 20 |u also m|eet all |
|00004ca0| 6f 66 20 74 68 65 73 65 | 20 63 6f 6e 64 69 74 69 |of these| conditi|
|00004cb0| 6f 6e 73 3a 0a 0a 20 20 | 20 20 61 29 20 59 6f 75 |ons:.. | a) You|
|00004cc0| 20 6d 75 73 74 20 63 61 | 75 73 65 20 74 68 65 20 | must ca|use the |
|00004cd0| 6d 6f 64 69 66 69 65 64 | 20 66 69 6c 65 73 20 74 |modified| files t|
|00004ce0| 6f 20 63 61 72 72 79 20 | 70 72 6f 6d 69 6e 65 6e |o carry |prominen|
|00004cf0| 74 20 6e 6f 74 69 63 65 | 73 0a 20 20 20 20 73 74 |t notice|s. st|
|00004d00| 61 74 69 6e 67 20 74 68 | 61 74 20 79 6f 75 20 63 |ating th|at you c|
|00004d10| 68 61 6e 67 65 64 20 74 | 68 65 20 66 69 6c 65 73 |hanged t|he files|
|00004d20| 20 61 6e 64 20 74 68 65 | 20 64 61 74 65 20 6f 66 | and the| date of|
|00004d30| 20 61 6e 79 20 63 68 61 | 6e 67 65 2e 0a 0a 20 20 | any cha|nge... |
|00004d40| 20 20 62 29 20 59 6f 75 | 20 6d 75 73 74 20 63 61 | b) You| must ca|
|00004d50| 75 73 65 20 61 6e 79 20 | 77 6f 72 6b 20 74 68 61 |use any |work tha|
|00004d60| 74 20 79 6f 75 20 64 69 | 73 74 72 69 62 75 74 65 |t you di|stribute|
|00004d70| 20 6f 72 20 70 75 62 6c | 69 73 68 2c 20 74 68 61 | or publ|ish, tha|
|00004d80| 74 20 69 6e 0a 20 20 20 | 20 77 68 6f 6c 65 20 6f |t in. | whole o|
|00004d90| 72 20 69 6e 20 70 61 72 | 74 20 63 6f 6e 74 61 69 |r in par|t contai|
|00004da0| 6e 73 20 6f 72 20 69 73 | 20 64 65 72 69 76 65 64 |ns or is| derived|
|00004db0| 20 66 72 6f 6d 20 74 68 | 65 20 50 72 6f 67 72 61 | from th|e Progra|
|00004dc0| 6d 20 6f 72 20 61 6e 79 | 0a 20 20 20 20 70 61 72 |m or any|. par|
|00004dd0| 74 20 74 68 65 72 65 6f | 66 2c 20 74 6f 20 62 65 |t thereo|f, to be|
|00004de0| 20 6c 69 63 65 6e 73 65 | 64 20 61 73 20 61 20 77 | license|d as a w|
|00004df0| 68 6f 6c 65 20 61 74 20 | 6e 6f 20 63 68 61 72 67 |hole at |no charg|
|00004e00| 65 20 74 6f 20 61 6c 6c | 20 74 68 69 72 64 0a 20 |e to all| third. |
|00004e10| 20 20 20 70 61 72 74 69 | 65 73 20 75 6e 64 65 72 | parti|es under|
|00004e20| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 20 74 68 | the ter|ms of th|
|00004e30| 69 73 20 4c 69 63 65 6e | 73 65 2e 0a 0a 20 20 20 |is Licen|se... |
|00004e40| 20 63 29 20 49 66 20 74 | 68 65 20 6d 6f 64 69 66 | c) If t|he modif|
|00004e50| 69 65 64 20 70 72 6f 67 | 72 61 6d 20 6e 6f 72 6d |ied prog|ram norm|
|00004e60| 61 6c 6c 79 20 72 65 61 | 64 73 20 63 6f 6d 6d 61 |ally rea|ds comma|
|00004e70| 6e 64 73 20 69 6e 74 65 | 72 61 63 74 69 76 65 6c |nds inte|ractivel|
|00004e80| 79 0a 20 20 20 20 77 68 | 65 6e 20 72 75 6e 2c 20 |y. wh|en run, |
|00004e90| 79 6f 75 20 6d 75 73 74 | 20 63 61 75 73 65 20 69 |you must| cause i|
|00004ea0| 74 2c 20 77 68 65 6e 20 | 73 74 61 72 74 65 64 20 |t, when |started |
|00004eb0| 72 75 6e 6e 69 6e 67 20 | 66 6f 72 20 73 75 63 68 |running |for such|
|00004ec0| 0a 20 20 20 20 69 6e 74 | 65 72 61 63 74 69 76 65 |. int|eractive|
|00004ed0| 20 75 73 65 20 69 6e 20 | 74 68 65 20 6d 6f 73 74 | use in |the most|
|00004ee0| 20 6f 72 64 69 6e 61 72 | 79 20 77 61 79 2c 20 74 | ordinar|y way, t|
|00004ef0| 6f 20 70 72 69 6e 74 20 | 6f 72 20 64 69 73 70 6c |o print |or displ|
|00004f00| 61 79 20 61 6e 0a 20 20 | 20 20 61 6e 6e 6f 75 6e |ay an. | announ|
|00004f10| 63 65 6d 65 6e 74 20 69 | 6e 63 6c 75 64 69 6e 67 |cement i|ncluding|
|00004f20| 20 61 6e 20 61 70 70 72 | 6f 70 72 69 61 74 65 20 | an appr|opriate |
|00004f30| 63 6f 70 79 72 69 67 68 | 74 20 6e 6f 74 69 63 65 |copyrigh|t notice|
|00004f40| 20 61 6e 64 20 61 0a 20 | 20 20 20 6e 6f 74 69 63 | and a. | notic|
|00004f50| 65 20 74 68 61 74 20 74 | 68 65 72 65 20 69 73 20 |e that t|here is |
|00004f60| 6e 6f 20 77 61 72 72 61 | 6e 74 79 20 28 6f 72 20 |no warra|nty (or |
|00004f70| 65 6c 73 65 2c 20 73 61 | 79 69 6e 67 20 74 68 61 |else, sa|ying tha|
|00004f80| 74 20 79 6f 75 20 70 72 | 6f 76 69 64 65 0a 20 20 |t you pr|ovide. |
|00004f90| 20 20 61 20 77 61 72 72 | 61 6e 74 79 29 20 61 6e | a warr|anty) an|
|00004fa0| 64 20 74 68 61 74 20 75 | 73 65 72 73 20 6d 61 79 |d that u|sers may|
|00004fb0| 20 72 65 64 69 73 74 72 | 69 62 75 74 65 20 74 68 | redistr|ibute th|
|00004fc0| 65 20 70 72 6f 67 72 61 | 6d 20 75 6e 64 65 72 0a |e progra|m under.|
|00004fd0| 20 20 20 20 74 68 65 73 | 65 20 63 6f 6e 64 69 74 | thes|e condit|
|00004fe0| 69 6f 6e 73 2c 20 61 6e | 64 20 74 65 6c 6c 69 6e |ions, an|d tellin|
|00004ff0| 67 20 74 68 65 20 75 73 | 65 72 20 68 6f 77 20 74 |g the us|er how t|
|00005000| 6f 20 76 69 65 77 20 61 | 20 63 6f 70 79 20 6f 66 |o view a| copy of|
|00005010| 20 74 68 69 73 0a 20 20 | 20 20 4c 69 63 65 6e 73 | this. | Licens|
|00005020| 65 2e 20 20 28 45 78 63 | 65 70 74 69 6f 6e 3a 20 |e. (Exc|eption: |
|00005030| 69 66 20 74 68 65 20 50 | 72 6f 67 72 61 6d 20 69 |if the P|rogram i|
|00005040| 74 73 65 6c 66 20 69 73 | 20 69 6e 74 65 72 61 63 |tself is| interac|
|00005050| 74 69 76 65 20 62 75 74 | 0a 20 20 20 20 64 6f 65 |tive but|. doe|
|00005060| 73 20 6e 6f 74 20 6e 6f | 72 6d 61 6c 6c 79 20 70 |s not no|rmally p|
|00005070| 72 69 6e 74 20 73 75 63 | 68 20 61 6e 20 61 6e 6e |rint suc|h an ann|
|00005080| 6f 75 6e 63 65 6d 65 6e | 74 2c 20 79 6f 75 72 20 |ouncemen|t, your |
|00005090| 77 6f 72 6b 20 62 61 73 | 65 64 20 6f 6e 0a 20 20 |work bas|ed on. |
|000050a0| 20 20 74 68 65 20 50 72 | 6f 67 72 61 6d 20 69 73 | the Pr|ogram is|
|000050b0| 20 6e 6f 74 20 72 65 71 | 75 69 72 65 64 20 74 6f | not req|uired to|
|000050c0| 20 70 72 69 6e 74 20 61 | 6e 20 61 6e 6e 6f 75 6e | print a|n announ|
|000050d0| 63 65 6d 65 6e 74 2e 29 | 0a 0c 0a 54 68 65 73 65 |cement.)|...These|
|000050e0| 20 72 65 71 75 69 72 65 | 6d 65 6e 74 73 20 61 70 | require|ments ap|
|000050f0| 70 6c 79 20 74 6f 20 74 | 68 65 20 6d 6f 64 69 66 |ply to t|he modif|
|00005100| 69 65 64 20 77 6f 72 6b | 20 61 73 20 61 20 77 68 |ied work| as a wh|
|00005110| 6f 6c 65 2e 20 20 49 66 | 0a 69 64 65 6e 74 69 66 |ole. If|.identif|
|00005120| 69 61 62 6c 65 20 73 65 | 63 74 69 6f 6e 73 20 6f |iable se|ctions o|
|00005130| 66 20 74 68 61 74 20 77 | 6f 72 6b 20 61 72 65 20 |f that w|ork are |
|00005140| 6e 6f 74 20 64 65 72 69 | 76 65 64 20 66 72 6f 6d |not deri|ved from|
|00005150| 20 74 68 65 20 50 72 6f | 67 72 61 6d 2c 0a 61 6e | the Pro|gram,.an|
|00005160| 64 20 63 61 6e 20 62 65 | 20 72 65 61 73 6f 6e 61 |d can be| reasona|
|00005170| 62 6c 79 20 63 6f 6e 73 | 69 64 65 72 65 64 20 69 |bly cons|idered i|
|00005180| 6e 64 65 70 65 6e 64 65 | 6e 74 20 61 6e 64 20 73 |ndepende|nt and s|
|00005190| 65 70 61 72 61 74 65 20 | 77 6f 72 6b 73 20 69 6e |eparate |works in|
|000051a0| 0a 74 68 65 6d 73 65 6c | 76 65 73 2c 20 74 68 65 |.themsel|ves, the|
|000051b0| 6e 20 74 68 69 73 20 4c | 69 63 65 6e 73 65 2c 20 |n this L|icense, |
|000051c0| 61 6e 64 20 69 74 73 20 | 74 65 72 6d 73 2c 20 64 |and its |terms, d|
|000051d0| 6f 20 6e 6f 74 20 61 70 | 70 6c 79 20 74 6f 20 74 |o not ap|ply to t|
|000051e0| 68 6f 73 65 0a 73 65 63 | 74 69 6f 6e 73 20 77 68 |hose.sec|tions wh|
|000051f0| 65 6e 20 79 6f 75 20 64 | 69 73 74 72 69 62 75 74 |en you d|istribut|
|00005200| 65 20 74 68 65 6d 20 61 | 73 20 73 65 70 61 72 61 |e them a|s separa|
|00005210| 74 65 20 77 6f 72 6b 73 | 2e 20 20 42 75 74 20 77 |te works|. But w|
|00005220| 68 65 6e 20 79 6f 75 0a | 64 69 73 74 72 69 62 75 |hen you.|distribu|
|00005230| 74 65 20 74 68 65 20 73 | 61 6d 65 20 73 65 63 74 |te the s|ame sect|
|00005240| 69 6f 6e 73 20 61 73 20 | 70 61 72 74 20 6f 66 20 |ions as |part of |
|00005250| 61 20 77 68 6f 6c 65 20 | 77 68 69 63 68 20 69 73 |a whole |which is|
|00005260| 20 61 20 77 6f 72 6b 20 | 62 61 73 65 64 0a 6f 6e | a work |based.on|
|00005270| 20 74 68 65 20 50 72 6f | 67 72 61 6d 2c 20 74 68 | the Pro|gram, th|
|00005280| 65 20 64 69 73 74 72 69 | 62 75 74 69 6f 6e 20 6f |e distri|bution o|
|00005290| 66 20 74 68 65 20 77 68 | 6f 6c 65 20 6d 75 73 74 |f the wh|ole must|
|000052a0| 20 62 65 20 6f 6e 20 74 | 68 65 20 74 65 72 6d 73 | be on t|he terms|
|000052b0| 20 6f 66 0a 74 68 69 73 | 20 4c 69 63 65 6e 73 65 | of.this| License|
|000052c0| 2c 20 77 68 6f 73 65 20 | 70 65 72 6d 69 73 73 69 |, whose |permissi|
|000052d0| 6f 6e 73 20 66 6f 72 20 | 6f 74 68 65 72 20 6c 69 |ons for |other li|
|000052e0| 63 65 6e 73 65 65 73 20 | 65 78 74 65 6e 64 20 74 |censees |extend t|
|000052f0| 6f 20 74 68 65 0a 65 6e | 74 69 72 65 20 77 68 6f |o the.en|tire who|
|00005300| 6c 65 2c 20 61 6e 64 20 | 74 68 75 73 20 74 6f 20 |le, and |thus to |
|00005310| 65 61 63 68 20 61 6e 64 | 20 65 76 65 72 79 20 70 |each and| every p|
|00005320| 61 72 74 20 72 65 67 61 | 72 64 6c 65 73 73 20 6f |art rega|rdless o|
|00005330| 66 20 77 68 6f 20 77 72 | 6f 74 65 20 69 74 2e 0a |f who wr|ote it..|
|00005340| 0a 54 68 75 73 2c 20 69 | 74 20 69 73 20 6e 6f 74 |.Thus, i|t is not|
|00005350| 20 74 68 65 20 69 6e 74 | 65 6e 74 20 6f 66 20 74 | the int|ent of t|
|00005360| 68 69 73 20 73 65 63 74 | 69 6f 6e 20 74 6f 20 63 |his sect|ion to c|
|00005370| 6c 61 69 6d 20 72 69 67 | 68 74 73 20 6f 72 20 63 |laim rig|hts or c|
|00005380| 6f 6e 74 65 73 74 0a 79 | 6f 75 72 20 72 69 67 68 |ontest.y|our righ|
|00005390| 74 73 20 74 6f 20 77 6f | 72 6b 20 77 72 69 74 74 |ts to wo|rk writt|
|000053a0| 65 6e 20 65 6e 74 69 72 | 65 6c 79 20 62 79 20 79 |en entir|ely by y|
|000053b0| 6f 75 3b 20 72 61 74 68 | 65 72 2c 20 74 68 65 20 |ou; rath|er, the |
|000053c0| 69 6e 74 65 6e 74 20 69 | 73 20 74 6f 0a 65 78 65 |intent i|s to.exe|
|000053d0| 72 63 69 73 65 20 74 68 | 65 20 72 69 67 68 74 20 |rcise th|e right |
|000053e0| 74 6f 20 63 6f 6e 74 72 | 6f 6c 20 74 68 65 20 64 |to contr|ol the d|
|000053f0| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 6f 66 20 64 |istribut|ion of d|
|00005400| 65 72 69 76 61 74 69 76 | 65 20 6f 72 0a 63 6f 6c |erivativ|e or.col|
|00005410| 6c 65 63 74 69 76 65 20 | 77 6f 72 6b 73 20 62 61 |lective |works ba|
|00005420| 73 65 64 20 6f 6e 20 74 | 68 65 20 50 72 6f 67 72 |sed on t|he Progr|
|00005430| 61 6d 2e 0a 0a 49 6e 20 | 61 64 64 69 74 69 6f 6e |am...In |addition|
|00005440| 2c 20 6d 65 72 65 20 61 | 67 67 72 65 67 61 74 69 |, mere a|ggregati|
|00005450| 6f 6e 20 6f 66 20 61 6e | 6f 74 68 65 72 20 77 6f |on of an|other wo|
|00005460| 72 6b 20 6e 6f 74 20 62 | 61 73 65 64 20 6f 6e 20 |rk not b|ased on |
|00005470| 74 68 65 20 50 72 6f 67 | 72 61 6d 0a 77 69 74 68 |the Prog|ram.with|
|00005480| 20 74 68 65 20 50 72 6f | 67 72 61 6d 20 28 6f 72 | the Pro|gram (or|
|00005490| 20 77 69 74 68 20 61 20 | 77 6f 72 6b 20 62 61 73 | with a |work bas|
|000054a0| 65 64 20 6f 6e 20 74 68 | 65 20 50 72 6f 67 72 61 |ed on th|e Progra|
|000054b0| 6d 29 20 6f 6e 20 61 20 | 76 6f 6c 75 6d 65 20 6f |m) on a |volume o|
|000054c0| 66 0a 61 20 73 74 6f 72 | 61 67 65 20 6f 72 20 64 |f.a stor|age or d|
|000054d0| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 6d 65 64 69 |istribut|ion medi|
|000054e0| 75 6d 20 64 6f 65 73 20 | 6e 6f 74 20 62 72 69 6e |um does |not brin|
|000054f0| 67 20 74 68 65 20 6f 74 | 68 65 72 20 77 6f 72 6b |g the ot|her work|
|00005500| 20 75 6e 64 65 72 0a 74 | 68 65 20 73 63 6f 70 65 | under.t|he scope|
|00005510| 20 6f 66 20 74 68 69 73 | 20 4c 69 63 65 6e 73 65 | of this| License|
|00005520| 2e 0a 0a 20 20 33 2e 20 | 59 6f 75 20 6d 61 79 20 |... 3. |You may |
|00005530| 63 6f 70 79 20 61 6e 64 | 20 64 69 73 74 72 69 62 |copy and| distrib|
|00005540| 75 74 65 20 74 68 65 20 | 50 72 6f 67 72 61 6d 20 |ute the |Program |
|00005550| 28 6f 72 20 61 20 77 6f | 72 6b 20 62 61 73 65 64 |(or a wo|rk based|
|00005560| 20 6f 6e 20 69 74 2c 0a | 75 6e 64 65 72 20 53 65 | on it,.|under Se|
|00005570| 63 74 69 6f 6e 20 32 29 | 20 69 6e 20 6f 62 6a 65 |ction 2)| in obje|
|00005580| 63 74 20 63 6f 64 65 20 | 6f 72 20 65 78 65 63 75 |ct code |or execu|
|00005590| 74 61 62 6c 65 20 66 6f | 72 6d 20 75 6e 64 65 72 |table fo|rm under|
|000055a0| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 0a 53 65 | the ter|ms of.Se|
|000055b0| 63 74 69 6f 6e 73 20 31 | 20 61 6e 64 20 32 20 61 |ctions 1| and 2 a|
|000055c0| 62 6f 76 65 20 70 72 6f | 76 69 64 65 64 20 74 68 |bove pro|vided th|
|000055d0| 61 74 20 79 6f 75 20 61 | 6c 73 6f 20 64 6f 20 6f |at you a|lso do o|
|000055e0| 6e 65 20 6f 66 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |ne of th|e follow|
|000055f0| 69 6e 67 3a 0a 0a 20 20 | 20 20 61 29 20 41 63 63 |ing:.. | a) Acc|
|00005600| 6f 6d 70 61 6e 79 20 69 | 74 20 77 69 74 68 20 74 |ompany i|t with t|
|00005610| 68 65 20 63 6f 6d 70 6c | 65 74 65 20 63 6f 72 72 |he compl|ete corr|
|00005620| 65 73 70 6f 6e 64 69 6e | 67 20 6d 61 63 68 69 6e |espondin|g machin|
|00005630| 65 2d 72 65 61 64 61 62 | 6c 65 0a 20 20 20 20 73 |e-readab|le. s|
|00005640| 6f 75 72 63 65 20 63 6f | 64 65 2c 20 77 68 69 63 |ource co|de, whic|
|00005650| 68 20 6d 75 73 74 20 62 | 65 20 64 69 73 74 72 69 |h must b|e distri|
|00005660| 62 75 74 65 64 20 75 6e | 64 65 72 20 74 68 65 20 |buted un|der the |
|00005670| 74 65 72 6d 73 20 6f 66 | 20 53 65 63 74 69 6f 6e |terms of| Section|
|00005680| 73 0a 20 20 20 20 31 20 | 61 6e 64 20 32 20 61 62 |s. 1 |and 2 ab|
|00005690| 6f 76 65 20 6f 6e 20 61 | 20 6d 65 64 69 75 6d 20 |ove on a| medium |
|000056a0| 63 75 73 74 6f 6d 61 72 | 69 6c 79 20 75 73 65 64 |customar|ily used|
|000056b0| 20 66 6f 72 20 73 6f 66 | 74 77 61 72 65 20 69 6e | for sof|tware in|
|000056c0| 74 65 72 63 68 61 6e 67 | 65 3b 20 6f 72 2c 0a 0a |terchang|e; or,..|
|000056d0| 20 20 20 20 62 29 20 41 | 63 63 6f 6d 70 61 6e 79 | b) A|ccompany|
|000056e0| 20 69 74 20 77 69 74 68 | 20 61 20 77 72 69 74 74 | it with| a writt|
|000056f0| 65 6e 20 6f 66 66 65 72 | 2c 20 76 61 6c 69 64 20 |en offer|, valid |
|00005700| 66 6f 72 20 61 74 20 6c | 65 61 73 74 20 74 68 72 |for at l|east thr|
|00005710| 65 65 0a 20 20 20 20 79 | 65 61 72 73 2c 20 74 6f |ee. y|ears, to|
|00005720| 20 67 69 76 65 20 61 6e | 79 20 74 68 69 72 64 20 | give an|y third |
|00005730| 70 61 72 74 79 2c 20 66 | 6f 72 20 61 20 63 68 61 |party, f|or a cha|
|00005740| 72 67 65 20 6e 6f 20 6d | 6f 72 65 20 74 68 61 6e |rge no m|ore than|
|00005750| 20 79 6f 75 72 0a 20 20 | 20 20 63 6f 73 74 20 6f | your. | cost o|
|00005760| 66 20 70 68 79 73 69 63 | 61 6c 6c 79 20 70 65 72 |f physic|ally per|
|00005770| 66 6f 72 6d 69 6e 67 20 | 73 6f 75 72 63 65 20 64 |forming |source d|
|00005780| 69 73 74 72 69 62 75 74 | 69 6f 6e 2c 20 61 20 63 |istribut|ion, a c|
|00005790| 6f 6d 70 6c 65 74 65 0a | 20 20 20 20 6d 61 63 68 |omplete.| mach|
|000057a0| 69 6e 65 2d 72 65 61 64 | 61 62 6c 65 20 63 6f 70 |ine-read|able cop|
|000057b0| 79 20 6f 66 20 74 68 65 | 20 63 6f 72 72 65 73 70 |y of the| corresp|
|000057c0| 6f 6e 64 69 6e 67 20 73 | 6f 75 72 63 65 20 63 6f |onding s|ource co|
|000057d0| 64 65 2c 20 74 6f 20 62 | 65 0a 20 20 20 20 64 69 |de, to b|e. di|
|000057e0| 73 74 72 69 62 75 74 65 | 64 20 75 6e 64 65 72 20 |stribute|d under |
|000057f0| 74 68 65 20 74 65 72 6d | 73 20 6f 66 20 53 65 63 |the term|s of Sec|
|00005800| 74 69 6f 6e 73 20 31 20 | 61 6e 64 20 32 20 61 62 |tions 1 |and 2 ab|
|00005810| 6f 76 65 20 6f 6e 20 61 | 20 6d 65 64 69 75 6d 0a |ove on a| medium.|
|00005820| 20 20 20 20 63 75 73 74 | 6f 6d 61 72 69 6c 79 20 | cust|omarily |
|00005830| 75 73 65 64 20 66 6f 72 | 20 73 6f 66 74 77 61 72 |used for| softwar|
|00005840| 65 20 69 6e 74 65 72 63 | 68 61 6e 67 65 3b 20 6f |e interc|hange; o|
|00005850| 72 2c 0a 0a 20 20 20 20 | 63 29 20 41 63 63 6f 6d |r,.. |c) Accom|
|00005860| 70 61 6e 79 20 69 74 20 | 77 69 74 68 20 74 68 65 |pany it |with the|
|00005870| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 79 6f 75 | informa|tion you|
|00005880| 20 72 65 63 65 69 76 65 | 64 20 61 73 20 74 6f 20 | receive|d as to |
|00005890| 74 68 65 20 6f 66 66 65 | 72 0a 20 20 20 20 74 6f |the offe|r. to|
|000058a0| 20 64 69 73 74 72 69 62 | 75 74 65 20 63 6f 72 72 | distrib|ute corr|
|000058b0| 65 73 70 6f 6e 64 69 6e | 67 20 73 6f 75 72 63 65 |espondin|g source|
|000058c0| 20 63 6f 64 65 2e 20 20 | 28 54 68 69 73 20 61 6c | code. |(This al|
|000058d0| 74 65 72 6e 61 74 69 76 | 65 20 69 73 0a 20 20 20 |ternativ|e is. |
|000058e0| 20 61 6c 6c 6f 77 65 64 | 20 6f 6e 6c 79 20 66 6f | allowed| only fo|
|000058f0| 72 20 6e 6f 6e 63 6f 6d | 6d 65 72 63 69 61 6c 20 |r noncom|mercial |
|00005900| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 20 61 6e 64 |distribu|tion and|
|00005910| 20 6f 6e 6c 79 20 69 66 | 20 79 6f 75 0a 20 20 20 | only if| you. |
|00005920| 20 72 65 63 65 69 76 65 | 64 20 74 68 65 20 70 72 | receive|d the pr|
|00005930| 6f 67 72 61 6d 20 69 6e | 20 6f 62 6a 65 63 74 20 |ogram in| object |
|00005940| 63 6f 64 65 20 6f 72 20 | 65 78 65 63 75 74 61 62 |code or |executab|
|00005950| 6c 65 20 66 6f 72 6d 20 | 77 69 74 68 20 73 75 63 |le form |with suc|
|00005960| 68 0a 20 20 20 20 61 6e | 20 6f 66 66 65 72 2c 20 |h. an| offer, |
|00005970| 69 6e 20 61 63 63 6f 72 | 64 20 77 69 74 68 20 53 |in accor|d with S|
|00005980| 75 62 73 65 63 74 69 6f | 6e 20 62 20 61 62 6f 76 |ubsectio|n b abov|
|00005990| 65 2e 29 0a 0a 54 68 65 | 20 73 6f 75 72 63 65 20 |e.)..The| source |
|000059a0| 63 6f 64 65 20 66 6f 72 | 20 61 20 77 6f 72 6b 20 |code for| a work |
|000059b0| 6d 65 61 6e 73 20 74 68 | 65 20 70 72 65 66 65 72 |means th|e prefer|
|000059c0| 72 65 64 20 66 6f 72 6d | 20 6f 66 20 74 68 65 20 |red form| of the |
|000059d0| 77 6f 72 6b 20 66 6f 72 | 0a 6d 61 6b 69 6e 67 20 |work for|.making |
|000059e0| 6d 6f 64 69 66 69 63 61 | 74 69 6f 6e 73 20 74 6f |modifica|tions to|
|000059f0| 20 69 74 2e 20 20 46 6f | 72 20 61 6e 20 65 78 65 | it. Fo|r an exe|
|00005a00| 63 75 74 61 62 6c 65 20 | 77 6f 72 6b 2c 20 63 6f |cutable |work, co|
|00005a10| 6d 70 6c 65 74 65 20 73 | 6f 75 72 63 65 0a 63 6f |mplete s|ource.co|
|00005a20| 64 65 20 6d 65 61 6e 73 | 20 61 6c 6c 20 74 68 65 |de means| all the|
|00005a30| 20 73 6f 75 72 63 65 20 | 63 6f 64 65 20 66 6f 72 | source |code for|
|00005a40| 20 61 6c 6c 20 6d 6f 64 | 75 6c 65 73 20 69 74 20 | all mod|ules it |
|00005a50| 63 6f 6e 74 61 69 6e 73 | 2c 20 70 6c 75 73 20 61 |contains|, plus a|
|00005a60| 6e 79 0a 61 73 73 6f 63 | 69 61 74 65 64 20 69 6e |ny.assoc|iated in|
|00005a70| 74 65 72 66 61 63 65 20 | 64 65 66 69 6e 69 74 69 |terface |definiti|
|00005a80| 6f 6e 20 66 69 6c 65 73 | 2c 20 70 6c 75 73 20 74 |on files|, plus t|
|00005a90| 68 65 20 73 63 72 69 70 | 74 73 20 75 73 65 64 20 |he scrip|ts used |
|00005aa0| 74 6f 0a 63 6f 6e 74 72 | 6f 6c 20 63 6f 6d 70 69 |to.contr|ol compi|
|00005ab0| 6c 61 74 69 6f 6e 20 61 | 6e 64 20 69 6e 73 74 61 |lation a|nd insta|
|00005ac0| 6c 6c 61 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 65 |llation |of the e|
|00005ad0| 78 65 63 75 74 61 62 6c | 65 2e 20 20 48 6f 77 65 |xecutabl|e. Howe|
|00005ae0| 76 65 72 2c 20 61 73 20 | 61 0a 73 70 65 63 69 61 |ver, as |a.specia|
|00005af0| 6c 20 65 78 63 65 70 74 | 69 6f 6e 2c 20 74 68 65 |l except|ion, the|
|00005b00| 20 73 6f 75 72 63 65 20 | 63 6f 64 65 20 64 69 73 | source |code dis|
|00005b10| 74 72 69 62 75 74 65 64 | 20 6e 65 65 64 20 6e 6f |tributed| need no|
|00005b20| 74 20 69 6e 63 6c 75 64 | 65 0a 61 6e 79 74 68 69 |t includ|e.anythi|
|00005b30| 6e 67 20 74 68 61 74 20 | 69 73 20 6e 6f 72 6d 61 |ng that |is norma|
|00005b40| 6c 6c 79 20 64 69 73 74 | 72 69 62 75 74 65 64 20 |lly dist|ributed |
|00005b50| 28 69 6e 20 65 69 74 68 | 65 72 20 73 6f 75 72 63 |(in eith|er sourc|
|00005b60| 65 20 6f 72 20 62 69 6e | 61 72 79 0a 66 6f 72 6d |e or bin|ary.form|
|00005b70| 29 20 77 69 74 68 20 74 | 68 65 20 6d 61 6a 6f 72 |) with t|he major|
|00005b80| 20 63 6f 6d 70 6f 6e 65 | 6e 74 73 20 28 63 6f 6d | compone|nts (com|
|00005b90| 70 69 6c 65 72 2c 20 6b | 65 72 6e 65 6c 2c 20 61 |piler, k|ernel, a|
|00005ba0| 6e 64 20 73 6f 20 6f 6e | 29 20 6f 66 20 74 68 65 |nd so on|) of the|
|00005bb0| 0a 6f 70 65 72 61 74 69 | 6e 67 20 73 79 73 74 65 |.operati|ng syste|
|00005bc0| 6d 20 6f 6e 20 77 68 69 | 63 68 20 74 68 65 20 65 |m on whi|ch the e|
|00005bd0| 78 65 63 75 74 61 62 6c | 65 20 72 75 6e 73 2c 20 |xecutabl|e runs, |
|00005be0| 75 6e 6c 65 73 73 20 74 | 68 61 74 20 63 6f 6d 70 |unless t|hat comp|
|00005bf0| 6f 6e 65 6e 74 0a 69 74 | 73 65 6c 66 20 61 63 63 |onent.it|self acc|
|00005c00| 6f 6d 70 61 6e 69 65 73 | 20 74 68 65 20 65 78 65 |ompanies| the exe|
|00005c10| 63 75 74 61 62 6c 65 2e | 0a 0a 49 66 20 64 69 73 |cutable.|..If dis|
|00005c20| 74 72 69 62 75 74 69 6f | 6e 20 6f 66 20 65 78 65 |tributio|n of exe|
|00005c30| 63 75 74 61 62 6c 65 20 | 6f 72 20 6f 62 6a 65 63 |cutable |or objec|
|00005c40| 74 20 63 6f 64 65 20 69 | 73 20 6d 61 64 65 20 62 |t code i|s made b|
|00005c50| 79 20 6f 66 66 65 72 69 | 6e 67 0a 61 63 63 65 73 |y offeri|ng.acces|
|00005c60| 73 20 74 6f 20 63 6f 70 | 79 20 66 72 6f 6d 20 61 |s to cop|y from a|
|00005c70| 20 64 65 73 69 67 6e 61 | 74 65 64 20 70 6c 61 63 | designa|ted plac|
|00005c80| 65 2c 20 74 68 65 6e 20 | 6f 66 66 65 72 69 6e 67 |e, then |offering|
|00005c90| 20 65 71 75 69 76 61 6c | 65 6e 74 0a 61 63 63 65 | equival|ent.acce|
|00005ca0| 73 73 20 74 6f 20 63 6f | 70 79 20 74 68 65 20 73 |ss to co|py the s|
|00005cb0| 6f 75 72 63 65 20 63 6f | 64 65 20 66 72 6f 6d 20 |ource co|de from |
|00005cc0| 74 68 65 20 73 61 6d 65 | 20 70 6c 61 63 65 20 63 |the same| place c|
|00005cd0| 6f 75 6e 74 73 20 61 73 | 0a 64 69 73 74 72 69 62 |ounts as|.distrib|
|00005ce0| 75 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 73 6f 75 |ution of| the sou|
|00005cf0| 72 63 65 20 63 6f 64 65 | 2c 20 65 76 65 6e 20 74 |rce code|, even t|
|00005d00| 68 6f 75 67 68 20 74 68 | 69 72 64 20 70 61 72 74 |hough th|ird part|
|00005d10| 69 65 73 20 61 72 65 20 | 6e 6f 74 0a 63 6f 6d 70 |ies are |not.comp|
|00005d20| 65 6c 6c 65 64 20 74 6f | 20 63 6f 70 79 20 74 68 |elled to| copy th|
|00005d30| 65 20 73 6f 75 72 63 65 | 20 61 6c 6f 6e 67 20 77 |e source| along w|
|00005d40| 69 74 68 20 74 68 65 20 | 6f 62 6a 65 63 74 20 63 |ith the |object c|
|00005d50| 6f 64 65 2e 0a 0c 0a 20 | 20 34 2e 20 59 6f 75 20 |ode.... | 4. You |
|00005d60| 6d 61 79 20 6e 6f 74 20 | 63 6f 70 79 2c 20 6d 6f |may not |copy, mo|
|00005d70| 64 69 66 79 2c 20 73 75 | 62 6c 69 63 65 6e 73 65 |dify, su|blicense|
|00005d80| 2c 20 6f 72 20 64 69 73 | 74 72 69 62 75 74 65 20 |, or dis|tribute |
|00005d90| 74 68 65 20 50 72 6f 67 | 72 61 6d 0a 65 78 63 65 |the Prog|ram.exce|
|00005da0| 70 74 20 61 73 20 65 78 | 70 72 65 73 73 6c 79 20 |pt as ex|pressly |
|00005db0| 70 72 6f 76 69 64 65 64 | 20 75 6e 64 65 72 20 74 |provided| under t|
|00005dc0| 68 69 73 20 4c 69 63 65 | 6e 73 65 2e 20 20 41 6e |his Lice|nse. An|
|00005dd0| 79 20 61 74 74 65 6d 70 | 74 0a 6f 74 68 65 72 77 |y attemp|t.otherw|
|00005de0| 69 73 65 20 74 6f 20 63 | 6f 70 79 2c 20 6d 6f 64 |ise to c|opy, mod|
|00005df0| 69 66 79 2c 20 73 75 62 | 6c 69 63 65 6e 73 65 20 |ify, sub|license |
|00005e00| 6f 72 20 64 69 73 74 72 | 69 62 75 74 65 20 74 68 |or distr|ibute th|
|00005e10| 65 20 50 72 6f 67 72 61 | 6d 20 69 73 0a 76 6f 69 |e Progra|m is.voi|
|00005e20| 64 2c 20 61 6e 64 20 77 | 69 6c 6c 20 61 75 74 6f |d, and w|ill auto|
|00005e30| 6d 61 74 69 63 61 6c 6c | 79 20 74 65 72 6d 69 6e |maticall|y termin|
|00005e40| 61 74 65 20 79 6f 75 72 | 20 72 69 67 68 74 73 20 |ate your| rights |
|00005e50| 75 6e 64 65 72 20 74 68 | 69 73 20 4c 69 63 65 6e |under th|is Licen|
|00005e60| 73 65 2e 0a 48 6f 77 65 | 76 65 72 2c 20 70 61 72 |se..Howe|ver, par|
|00005e70| 74 69 65 73 20 77 68 6f | 20 68 61 76 65 20 72 65 |ties who| have re|
|00005e80| 63 65 69 76 65 64 20 63 | 6f 70 69 65 73 2c 20 6f |ceived c|opies, o|
|00005e90| 72 20 72 69 67 68 74 73 | 2c 20 66 72 6f 6d 20 79 |r rights|, from y|
|00005ea0| 6f 75 20 75 6e 64 65 72 | 0a 74 68 69 73 20 4c 69 |ou under|.this Li|
|00005eb0| 63 65 6e 73 65 20 77 69 | 6c 6c 20 6e 6f 74 20 68 |cense wi|ll not h|
|00005ec0| 61 76 65 20 74 68 65 69 | 72 20 6c 69 63 65 6e 73 |ave thei|r licens|
|00005ed0| 65 73 20 74 65 72 6d 69 | 6e 61 74 65 64 20 73 6f |es termi|nated so|
|00005ee0| 20 6c 6f 6e 67 20 61 73 | 20 73 75 63 68 0a 70 61 | long as| such.pa|
|00005ef0| 72 74 69 65 73 20 72 65 | 6d 61 69 6e 20 69 6e 20 |rties re|main in |
|00005f00| 66 75 6c 6c 20 63 6f 6d | 70 6c 69 61 6e 63 65 2e |full com|pliance.|
|00005f10| 0a 0a 20 20 35 2e 20 59 | 6f 75 20 61 72 65 20 6e |.. 5. Y|ou are n|
|00005f20| 6f 74 20 72 65 71 75 69 | 72 65 64 20 74 6f 20 61 |ot requi|red to a|
|00005f30| 63 63 65 70 74 20 74 68 | 69 73 20 4c 69 63 65 6e |ccept th|is Licen|
|00005f40| 73 65 2c 20 73 69 6e 63 | 65 20 79 6f 75 20 68 61 |se, sinc|e you ha|
|00005f50| 76 65 20 6e 6f 74 0a 73 | 69 67 6e 65 64 20 69 74 |ve not.s|igned it|
|00005f60| 2e 20 20 48 6f 77 65 76 | 65 72 2c 20 6e 6f 74 68 |. Howev|er, noth|
|00005f70| 69 6e 67 20 65 6c 73 65 | 20 67 72 61 6e 74 73 20 |ing else| grants |
|00005f80| 79 6f 75 20 70 65 72 6d | 69 73 73 69 6f 6e 20 74 |you perm|ission t|
|00005f90| 6f 20 6d 6f 64 69 66 79 | 20 6f 72 0a 64 69 73 74 |o modify| or.dist|
|00005fa0| 72 69 62 75 74 65 20 74 | 68 65 20 50 72 6f 67 72 |ribute t|he Progr|
|00005fb0| 61 6d 20 6f 72 20 69 74 | 73 20 64 65 72 69 76 61 |am or it|s deriva|
|00005fc0| 74 69 76 65 20 77 6f 72 | 6b 73 2e 20 20 54 68 65 |tive wor|ks. The|
|00005fd0| 73 65 20 61 63 74 69 6f | 6e 73 20 61 72 65 0a 70 |se actio|ns are.p|
|00005fe0| 72 6f 68 69 62 69 74 65 | 64 20 62 79 20 6c 61 77 |rohibite|d by law|
|00005ff0| 20 69 66 20 79 6f 75 20 | 64 6f 20 6e 6f 74 20 61 | if you |do not a|
|00006000| 63 63 65 70 74 20 74 68 | 69 73 20 4c 69 63 65 6e |ccept th|is Licen|
|00006010| 73 65 2e 20 20 54 68 65 | 72 65 66 6f 72 65 2c 20 |se. The|refore, |
|00006020| 62 79 0a 6d 6f 64 69 66 | 79 69 6e 67 20 6f 72 20 |by.modif|ying or |
|00006030| 64 69 73 74 72 69 62 75 | 74 69 6e 67 20 74 68 65 |distribu|ting the|
|00006040| 20 50 72 6f 67 72 61 6d | 20 28 6f 72 20 61 6e 79 | Program| (or any|
|00006050| 20 77 6f 72 6b 20 62 61 | 73 65 64 20 6f 6e 20 74 | work ba|sed on t|
|00006060| 68 65 0a 50 72 6f 67 72 | 61 6d 29 2c 20 79 6f 75 |he.Progr|am), you|
|00006070| 20 69 6e 64 69 63 61 74 | 65 20 79 6f 75 72 20 61 | indicat|e your a|
|00006080| 63 63 65 70 74 61 6e 63 | 65 20 6f 66 20 74 68 69 |cceptanc|e of thi|
|00006090| 73 20 4c 69 63 65 6e 73 | 65 20 74 6f 20 64 6f 20 |s Licens|e to do |
|000060a0| 73 6f 2c 20 61 6e 64 0a | 61 6c 6c 20 69 74 73 20 |so, and.|all its |
|000060b0| 74 65 72 6d 73 20 61 6e | 64 20 63 6f 6e 64 69 74 |terms an|d condit|
|000060c0| 69 6f 6e 73 20 66 6f 72 | 20 63 6f 70 79 69 6e 67 |ions for| copying|
|000060d0| 2c 20 64 69 73 74 72 69 | 62 75 74 69 6e 67 20 6f |, distri|buting o|
|000060e0| 72 20 6d 6f 64 69 66 79 | 69 6e 67 0a 74 68 65 20 |r modify|ing.the |
|000060f0| 50 72 6f 67 72 61 6d 20 | 6f 72 20 77 6f 72 6b 73 |Program |or works|
|00006100| 20 62 61 73 65 64 20 6f | 6e 20 69 74 2e 0a 0a 20 | based o|n it... |
|00006110| 20 36 2e 20 45 61 63 68 | 20 74 69 6d 65 20 79 6f | 6. Each| time yo|
|00006120| 75 20 72 65 64 69 73 74 | 72 69 62 75 74 65 20 74 |u redist|ribute t|
|00006130| 68 65 20 50 72 6f 67 72 | 61 6d 20 28 6f 72 20 61 |he Progr|am (or a|
|00006140| 6e 79 20 77 6f 72 6b 20 | 62 61 73 65 64 20 6f 6e |ny work |based on|
|00006150| 20 74 68 65 0a 50 72 6f | 67 72 61 6d 29 2c 20 74 | the.Pro|gram), t|
|00006160| 68 65 20 72 65 63 69 70 | 69 65 6e 74 20 61 75 74 |he recip|ient aut|
|00006170| 6f 6d 61 74 69 63 61 6c | 6c 79 20 72 65 63 65 69 |omatical|ly recei|
|00006180| 76 65 73 20 61 20 6c 69 | 63 65 6e 73 65 20 66 72 |ves a li|cense fr|
|00006190| 6f 6d 20 74 68 65 0a 6f | 72 69 67 69 6e 61 6c 20 |om the.o|riginal |
|000061a0| 6c 69 63 65 6e 73 6f 72 | 20 74 6f 20 63 6f 70 79 |licensor| to copy|
|000061b0| 2c 20 64 69 73 74 72 69 | 62 75 74 65 20 6f 72 20 |, distri|bute or |
|000061c0| 6d 6f 64 69 66 79 20 74 | 68 65 20 50 72 6f 67 72 |modify t|he Progr|
|000061d0| 61 6d 20 73 75 62 6a 65 | 63 74 20 74 6f 0a 74 68 |am subje|ct to.th|
|000061e0| 65 73 65 20 74 65 72 6d | 73 20 61 6e 64 20 63 6f |ese term|s and co|
|000061f0| 6e 64 69 74 69 6f 6e 73 | 2e 20 20 59 6f 75 20 6d |nditions|. You m|
|00006200| 61 79 20 6e 6f 74 20 69 | 6d 70 6f 73 65 20 61 6e |ay not i|mpose an|
|00006210| 79 20 66 75 72 74 68 65 | 72 0a 72 65 73 74 72 69 |y furthe|r.restri|
|00006220| 63 74 69 6f 6e 73 20 6f | 6e 20 74 68 65 20 72 65 |ctions o|n the re|
|00006230| 63 69 70 69 65 6e 74 73 | 27 20 65 78 65 72 63 69 |cipients|' exerci|
|00006240| 73 65 20 6f 66 20 74 68 | 65 20 72 69 67 68 74 73 |se of th|e rights|
|00006250| 20 67 72 61 6e 74 65 64 | 20 68 65 72 65 69 6e 2e | granted| herein.|
|00006260| 0a 59 6f 75 20 61 72 65 | 20 6e 6f 74 20 72 65 73 |.You are| not res|
|00006270| 70 6f 6e 73 69 62 6c 65 | 20 66 6f 72 20 65 6e 66 |ponsible| for enf|
|00006280| 6f 72 63 69 6e 67 20 63 | 6f 6d 70 6c 69 61 6e 63 |orcing c|omplianc|
|00006290| 65 20 62 79 20 74 68 69 | 72 64 20 70 61 72 74 69 |e by thi|rd parti|
|000062a0| 65 73 20 74 6f 0a 74 68 | 69 73 20 4c 69 63 65 6e |es to.th|is Licen|
|000062b0| 73 65 2e 0a 0a 20 20 37 | 2e 20 49 66 2c 20 61 73 |se... 7|. If, as|
|000062c0| 20 61 20 63 6f 6e 73 65 | 71 75 65 6e 63 65 20 6f | a conse|quence o|
|000062d0| 66 20 61 20 63 6f 75 72 | 74 20 6a 75 64 67 6d 65 |f a cour|t judgme|
|000062e0| 6e 74 20 6f 72 20 61 6c | 6c 65 67 61 74 69 6f 6e |nt or al|legation|
|000062f0| 20 6f 66 20 70 61 74 65 | 6e 74 0a 69 6e 66 72 69 | of pate|nt.infri|
|00006300| 6e 67 65 6d 65 6e 74 20 | 6f 72 20 66 6f 72 20 61 |ngement |or for a|
|00006310| 6e 79 20 6f 74 68 65 72 | 20 72 65 61 73 6f 6e 20 |ny other| reason |
|00006320| 28 6e 6f 74 20 6c 69 6d | 69 74 65 64 20 74 6f 20 |(not lim|ited to |
|00006330| 70 61 74 65 6e 74 20 69 | 73 73 75 65 73 29 2c 0a |patent i|ssues),.|
|00006340| 63 6f 6e 64 69 74 69 6f | 6e 73 20 61 72 65 20 69 |conditio|ns are i|
|00006350| 6d 70 6f 73 65 64 20 6f | 6e 20 79 6f 75 20 28 77 |mposed o|n you (w|
|00006360| 68 65 74 68 65 72 20 62 | 79 20 63 6f 75 72 74 20 |hether b|y court |
|00006370| 6f 72 64 65 72 2c 20 61 | 67 72 65 65 6d 65 6e 74 |order, a|greement|
|00006380| 20 6f 72 0a 6f 74 68 65 | 72 77 69 73 65 29 20 74 | or.othe|rwise) t|
|00006390| 68 61 74 20 63 6f 6e 74 | 72 61 64 69 63 74 20 74 |hat cont|radict t|
|000063a0| 68 65 20 63 6f 6e 64 69 | 74 69 6f 6e 73 20 6f 66 |he condi|tions of|
|000063b0| 20 74 68 69 73 20 4c 69 | 63 65 6e 73 65 2c 20 74 | this Li|cense, t|
|000063c0| 68 65 79 20 64 6f 20 6e | 6f 74 0a 65 78 63 75 73 |hey do n|ot.excus|
|000063d0| 65 20 79 6f 75 20 66 72 | 6f 6d 20 74 68 65 20 63 |e you fr|om the c|
|000063e0| 6f 6e 64 69 74 69 6f 6e | 73 20 6f 66 20 74 68 69 |ondition|s of thi|
|000063f0| 73 20 4c 69 63 65 6e 73 | 65 2e 20 20 49 66 20 79 |s Licens|e. If y|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.